Skip to contents

Constructs a SharingClient from a Delta Sharing profile. The profile may be a path to a .share file or a parsed profile list. Construction parses and validates the profile but performs no network request or token exchange.

Usage

sharing_client(profile)

Arguments

profile

A profile file path or parsed profile list. Profile versions 1 (bearer) and 2 (bearer, basic, OAuth client-credentials, and private-key JWT) are supported.

Value

A SharingClient.

Examples

if (FALSE) { # interactive()
client <- sharing_client(demo_profile())
client$list_tables("delta_sharing")
}