start
suspend fun start( idToken: String, deviceSecret: String, audience: String = "api://default", scope: String = oidcClient.configuration.defaultScope): OidcClientResult<Token>
Content copied to clipboard
Initiates the Token Exchange flow.
Parameters
idToken
the id token for the user to create a new token for.
deviceSecret
the Token.deviceSecret obtained via another authentication flow.
audience
the audience of the authorization server. Defaults to api://default
.
scope
the scopes to request during sign in. Defaults to the configured OidcClient.