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
JWTClaimsSettoAuthentication.Extracts the JWT claims and uses theAuthenticationJWTClaimsSetAdapterto construction anAuthenticationobject.Validate JWT is not expired.AnyJwtTokenValidatorwhich should be verified for any JWT should implement this interface.Validates JWT issuer claim matches a configured value.Creates anAuthenticationobject 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.ConfigurationPropertiesimplementation 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.