JwtDecoder
Verifies and decodes a raw JWT according to a JwtVerification specification.
Implementations verify the signature against JwtVerification.keySource and check standard claims described by the rest of JwtVerification, returning a DecodedJwt on success. Any validation failure must be signalled by throwing; JwtAuthenticator converts that into io.github.mzlnk.javalin.security.authentication.AuthenticationResult.Failure. Register via the jwt { } block (decoder) or pass to JwtAuthenticator.Builder.
Functions
Link copied to clipboard
Verifies and decodes the raw token according to verification.