OAuthAuthorizationRequest

constructor(authorizeRequestUrl: String, expiresIn: Duration, codeVerifier: String, state: String, nonce: String)

Parameters

authorizeRequestUrl

The URL to which the user should be redirected to authorize the request.

expiresIn

The duration for which the authorization request is valid.

codeVerifier

A unique string that will be used to verify the token request.

state

A unique string to maintain state between the request and callback.

nonce

A unique string to prevent replay attacks.