B2BOAuthProviderClient

OAuth authentication and discovery methods for a single identity provider.

Properties

Link copied to clipboard

Discovery OAuth methods for listing organizations before a session is established.

Functions

Link copied to clipboard
abstract suspend fun start(parameters: B2BOAuthStartParameters): AuthenticatedResponse

Initiates an OAuth browser flow for the provider, scoped to the specified organization. Opens a browser session at https://{domain}/b2b/public/oauth/{provider}/start, then automatically exchanges the resulting token by calling POST /sdk/v1/b2b/oauth/authenticate, establishing a member session on success.