OAuthClient
OAuth authentication methods for browser-based and native provider flows.
Functions
Creates an OAuth attach token that can be used to link an OAuth provider to an existing authenticated session. Calls the POST /sdk/v1/oauth/attach endpoint. Pass the returned attach token as oauthAttachToken in a subsequent OAuthType.start call.
Authenticates an OAuth token received from a deeplink after the browser-based OAuth flow completes. Calls the POST /sdk/v1/oauth/authenticate endpoint. Retrieves the PKCE code verifier stored during the corresponding OAuthType.start call.
Authenticates an Apple ID token obtained via native iOS Sign In with Apple. Calls the POST /sdk/v1/oauth/apple/id_token/authenticate endpoint.
Authenticates a Google ID token obtained via native Android Google Sign-In. Calls the POST /sdk/v1/oauth/google/id_token/authenticate endpoint.