AuthorizationCodeFlowContext

data class AuthorizationCodeFlowContext(val url: String, val redirectUrl: String, codeVerifier: String, state: String, nonce: String, maxAge: Int?, val usedPushedAuthorizationRequest: Boolean = false, val pushedAuthorizationRequestUri: String? = null)

A model representing the context and current state for an authorization code session.

The two PAR properties are appended after maxAge — rather than interleaved — so @JvmOverloads regenerates the exact 6-parameter constructor already released in oauth2 3.0.0. Note this only preserves direct-construction call sites: the compiler-generated copy/copy$default for a data class always take every parameter, so their bytecode shape still changed with this addition.

Constructors

Link copied to clipboard
constructor(url: String, redirectUrl: String, codeVerifier: String, state: String, nonce: String, maxAge: Int?, usedPushedAuthorizationRequest: Boolean = false, pushedAuthorizationRequestUri: String? = null)

Properties

Link copied to clipboard

the request_uri returned by PAR when available.

Link copied to clipboard

the redirect URL configured for the client.

Link copied to clipboard
val url: String

the authorization URL to open in a browser.

Link copied to clipboard

true when start() used PAR and built a request_uri URL.

Functions

Link copied to clipboard
open override fun toString(): String