TokenEndpointResponse
class TokenEndpointResponse(val status: Int, val body: String, val dpopNonce: String? = null, val serverDate: String? = null, val origin: TokenEndpointResponseOrigin = TokenEndpointResponseOrigin.AuthorizationServer, val clientAuthKid: String? = null, val clientAuthMethod: String? = null, val replayed: Boolean = false)
The answer to a TokenEndpointRequest.
Properties
Link copied to clipboard
The id of the client key the request was signed with, when a relay performed client authentication.
Link copied to clipboard
The client's registered token_endpoint_auth_method as the relay last saw it ("none" or "private_key_jwt"), or null when unknown.
Link copied to clipboard
Whether the authorization server said this. Only an authorization-server invalid_grant ends a session; a transport that cannot tell must report TokenEndpointResponseOrigin.Mediator.
Link copied to clipboard
The authorization server's Date header, used to correct clock skew in later DPoP proofs.