@Singleton @Requires(property="micronaut.security.token.jwt.claims-validators.expiration", notEquals="false") public class ExpirationJwtClaimsValidator extends java.lang.Object implements GenericJwtClaimsValidator
PREFIX
Constructor and Description |
---|
ExpirationJwtClaimsValidator() |
Modifier and Type | Method and Description |
---|---|
boolean |
validate(JwtClaims claims,
io.micronaut.http.HttpRequest<?> request) |
protected boolean |
validate(com.nimbusds.jwt.JWTClaimsSet claimsSet) |
protected boolean validate(@NonNull com.nimbusds.jwt.JWTClaimsSet claimsSet)
claimsSet
- The JWT Claimspublic boolean validate(@NonNull JwtClaims claims, @Nullable io.micronaut.http.HttpRequest<?> request)
validate
in interface JwtClaimsValidator
claims
- JWT Claimsrequest
- HTTP request