RequestInfo

data class RequestInfo(val url: String, val method: HttpMethod, val dpop: JwsCompactTyped<JsonWebToken>? = null, val clientAttestation: JwsCompactTyped<JsonWebToken>? = null, val clientAttestationPop: JwsCompactTyped<JsonWebToken>? = null)(source)

Holds information about the HTTP request the client has made, to validate client authentication.

Constructors

Link copied to clipboard
constructor(url: String, method: HttpMethod, dpop: JwsCompactTyped<JsonWebToken>? = null, clientAttestation: JwsCompactTyped<JsonWebToken>? = null, clientAttestationPop: JwsCompactTyped<JsonWebToken>? = null)
constructor(url: String, method: HttpMethod, dpop: String? = null, clientAttestation: String? = null, clientAttestationPop: String? = null)

Properties

Link copied to clipboard
val clientAttestation: JwsCompactTyped<JsonWebToken>?

Value of the header OAuth-Client-Attestation (OAuth 2.0 Attestation-Based Client Authentication). A JWT that conforms to the structure and syntax as defined in Section 4.2

Link copied to clipboard
val clientAttestationPop: JwsCompactTyped<JsonWebToken>?

Value of the header OAuth-Client-Attestation-PoP (OAuth 2.0 Attestation-Based Client Authentication). A JWT that adheres to the structure and syntax as defined in Section 4.3

Link copied to clipboard
val dpop: JwsCompactTyped<JsonWebToken>?

Value of the header DPoP (RFC 9449). The value of the header is a JSON Web Token (JWT)

Link copied to clipboard
val method: HttpMethod

HTTP method that the client has used.

Link copied to clipboard
val url: String

URL that has been used to send this request.