TokenClaims

Structured JWT claims access.

Claims are decoded from an already verified token by the OpenID Connect plugin. Accessing these values does not perform verification by itself.

Report a problem

Properties

Link copied to clipboard

Signing algorithm from the JWT header.

Link copied to clipboard

Audience claim values.

Link copied to clipboard

Expiration time.

Link copied to clipboard

Decoded JWT header as JSON.

Link copied to clipboard

Issuance time.

Link copied to clipboard

Issuer claim.

Link copied to clipboard

JWT ID claim.

Link copied to clipboard

Key identifier from the JWT header.

Link copied to clipboard

Not-before time.

Link copied to clipboard

Decoded JWT payload claims as JSON.

Link copied to clipboard

Subject claim.

Link copied to clipboard
val type: String?

Type from the JWT header.

Functions

Link copied to clipboard
fun claim(name: String): JsonElement?

Returns a decoded JWT payload claim by name.

Link copied to clipboard

Returns a decoded JWT payload claim as a string.

Link copied to clipboard

Returns a JWT header value as a string.