B2BOAuthClient
interface B2BOAuthClient
B2B OAuth authentication methods for supported identity providers.
Properties
Link copied to clipboard
Cross-org OAuth discovery methods for enumerating organizations before authentication.
Link copied to clipboard
GitHub OAuth provider client.
Link copied to clipboard
Google OAuth provider client.
Link copied to clipboard
HubSpot OAuth provider client.
Link copied to clipboard
Microsoft OAuth provider client.
Link copied to clipboard
Slack OAuth provider client.
Functions
Link copied to clipboard
abstract suspend fun authenticate(request: IB2BOAuthAuthenticateParameters): B2BOAuthAuthenticateResponse
Authenticates an OAuth token received via deeplink after a browser-based OAuth flow completes, establishing a member session. Calls the POST /sdk/v1/b2b/oauth/authenticate endpoint. Retrieves the PKCE code verifier stored during the B2BOAuthProviderClient.start call, and automatically includes the intermediate session token if one is present.