verifier
Sets the JWTVerifier used to verify token format and signature.
Parameters
verifies token format and signature.
Sets a suspend function that selects the JWTVerifier for a token.
Return null when no verifier can be created for the provided header.
Parameters
resolves a verifier for the authentication header.
Creates a JWTVerifier from jwkProvider and issuer.
Parameters
provides JSON Web Keys.
expected token issuer.
configures JWT verification.
Creates a JWTVerifier from jwkProvider.
Parameters
provides JSON Web Keys.
configures JWT verification.
Creates a JWTVerifier for the given issuer, audience, and algorithm.
Parameters
expected token issuer.
expected token audience.
algorithm used to verify token signatures.
customizes the underlying JWT verification.
Creates a JWTVerifier using JSON Web Keys discovered from issuer.
The token's iss claim must be equal to issuer exactly. If the keys are hosted elsewhere or tokens from several issuers must be accepted, use the overloads that take a JwkProvider instead.
Parameters
expected token issuer and JWK provider base URL.
configures JWT verification.