resume

suspend fun resume(uri: Uri, flowContext: AuthorizationCodeFlow.Context): OidcClientResult<Token>

Resumes the OIDC Authorization Code redirect flow. This method takes the returned redirect Uri, and communicates with the Authorization Server to exchange that for a token.

Parameters

uri

the redirect Uri which includes the authorization code to complete the flow.

flowContext

the AuthorizationCodeFlow.Context used internally to maintain state.