buildAuthorizationRequest

suspend fun buildAuthorizationRequest(oauthClient: OAuthClient, scopes: List<OAuthScope>, loginHandleHint: String? = null): OAuthAuthorizationRequest

Build an authorization request for the given client and scopes. This URL can be used to redirect the user to the OAuth server to log into their account.

Keep track of the OAuthAuthorizationRequest's nonce and codeVerifier to use later when requesting an access token.