Jwt

class Jwt : ClaimsProvider

Represents a Json Web Token.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
suspend fun hasValidSignature(jwks: Jwks): Boolean

Validates the Jwt.signature against the Jwks.

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val algorithm: String

Identifies the digital signature algorithm used.

Link copied to clipboard
val keyId: String

Identifies the public key used to verify the ID token.

Link copied to clipboard
val rawValue: String

The raw value in standard JWT format.

Link copied to clipboard
val signature: String

The base64 encoded signature.