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.Decrypts an encrypted token.JSON Web Token (JWT) parser.API to validate the signature of a JSON Web Token with beans of typeSignatureConfiguration
.JSON Web Token (JWT) validator.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
.Deprecated, for removal: This API element is subject to removal in a future version.JwtValidator<T>Deprecated, for removal: This API element is subject to removal in a future version.UseJsonWebTokenValidator
orReactiveJsonWebTokenValidator
instead.A builder forJwtValidator
.Validate current time is not before the not-before claim of a JWT token.Reactive API to validate the signature of a JSON Web Token with beans of typeReactiveSignatureConfiguration
andSignatureConfiguration
.Reactive JSON Web Token (JWT) validator.Validate JWT subject claim is not null.
ReactiveJsonWebTokenValidator
instead.