OAuthAuthorizationRequest

data class OAuthAuthorizationRequest(val authorizeRequestUrl: String, val expiresIn: Duration, val codeVerifier: String, val state: String, val nonce: String)

Represents an OAuth authorization request.

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.

Constructors

Link copied to clipboard
constructor(authorizeRequestUrl: String, expiresIn: Duration, codeVerifier: String, state: String, nonce: String)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard