TokenIntrospectionResponse
@Serializable
RFC 7662: OAuth 2.0 Token Introspection: Response.
Constructors
Link copied to clipboard
constructor(active: Boolean, scope: String? = null, clientId: String? = null, username: String? = null, tokenType: String? = null, expiration: Instant? = null, issuedAt: Instant? = null, notBefore: Instant? = null, subject: String? = null, audience: String? = null, issuer: String? = null, jwtId: String? = null, authorizationDetails: Set<AuthorizationDetails>? = null)
Properties
Link copied to clipboard
REQUIRED. Boolean indicator of whether or not the presented token is currently active. The specifics of a token's "active" state will vary depending on the implementation of the authorization server and the information it keeps about its tokens, but a "true" value return for the "active" property will generally indicate that a given token has been issued by this authorization server, has not been revoked by the resource owner, and is within its given time window of validity (e.g., after its issuance time and before its expiration time).
Link copied to clipboard
@SerialName(value = "authorization_details")
Link copied to clipboard
@SerialName(value = "exp")
@Serializable(with = InstantLongSerializer::class)
OPTIONAL.Integer timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token will expire, as defined in JWT RFC7519.
Link copied to clipboard
Link copied to clipboard