TokenIntrospection
class TokenIntrospection(val active: Boolean, val scope: String? = null, val clientId: String? = null, val username: String? = null, val tokenType: String? = null, val expiresAt: Long? = null, val issuedAt: Long? = null, val notBefore: Long? = null, val subject: String? = null, val audience: List<String> = emptyList(), val issuer: String? = null, val jwtId: String? = null, val claims: JsonObject = JsonObject(emptyMap()))(source)
Normalized RFC 7662 token introspection response.
Constructors
Link copied to clipboard
constructor(active: Boolean, scope: String? = null, clientId: String? = null, username: String? = null, tokenType: String? = null, expiresAt: Long? = null, issuedAt: Long? = null, notBefore: Long? = null, subject: String? = null, audience: List<String> = emptyList(), issuer: String? = null, jwtId: String? = null, claims: JsonObject = JsonObject(emptyMap()))
Properties
Link copied to clipboard
normalized token audiences. String audiences are preserved as a single value.
Link copied to clipboard
raw JSON claims returned by the introspection endpoint.
Link copied to clipboard
client identifier associated with the token.
Link copied to clipboard
expiration time as seconds since the Unix epoch.
Link copied to clipboard
issuance time as seconds since the Unix epoch.
Link copied to clipboard
token issuer.
Link copied to clipboard
token identifier.
Link copied to clipboard
not-before time as seconds since the Unix epoch.
Link copied to clipboard
subject identifier associated with the token.
Link copied to clipboard
token type, such as Bearer.