Package io.micronaut.security.token.jwt.validator
package io.micronaut.security.token.jwt.validator
Support classes for JWT validation.
- Since:
- 1.0
- Author:
- graemerocher
-
ClassDescriptionValidates JWT audience claim contains a configured value.Adapter from
JWTClaimsSet
toAuthentication
.Extracts the JWT claims and uses theAuthenticationJWTClaimsSetAdapter
to construction anAuthentication
object.Validate JWT is not expired.AnyJwtTokenValidator
which should be verified for any JWT should implement this interface.Validates JWT issuer claim matches a configured value.Creates anAuthentication
object from a JWT token.Utils class to instantiate a JWClaimsSet give a map of claims.Provides a contract to create custom JWT claims validations.Configuration to enable or disable beans of typeJwtClaimsValidator
.ConfigurationProperties
implementation ofJwtClaimsValidatorConfiguration
.JwtValidator<T>A builder style class for validating JWT tokens against any number of provided encryption or signature configurations and any claim validators.A builder forJwtValidator
.Validate current time is not before the not-before claim of a JWT token.Validate JWT subject claim is not null.