JwtKeySource

sealed interface JwtKeySource

Describes where the key(s) used to verify a JWT signature come from.

This is a library-agnostic description consumed by a JwtDecoder. Register via the jwt { } block (keySource) or pass to JwtVerification.builder.

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Verifies tokens using keys resolved from a remote JWKS endpoint, matched by kid.

Link copied to clipboard

Verifies tokens using a single local public key (RSA or EC).

Link copied to clipboard

Verifies tokens using a shared HMAC secret.