B2BDiscoveryIntermediateSessionsClient
interface B2BDiscoveryIntermediateSessionsClient
Intermediate session exchange — converts a discovery token into a full member session.
Functions
Link copied to clipboard
abstract suspend fun exchange(request: IB2BDiscoveryIntermediateSessionsExchangeParameters): B2BDiscoveryIntermediateSessionsExchangeResponse
Exchanges an intermediate session token for a full member session in the selected organization. Calls the POST /sdk/v1/b2b/discovery/intermediate_sessions/exchange endpoint. Automatically includes the intermediate session token if one is present.