@Singleton @Requires(property="micronaut.security.token.jwt.claims-validators.not-before", value="true") public class NotBeforeJwtClaimsValidator extends java.lang.Object implements GenericJwtClaimsValidator
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NOT_BEFORE_PROP |
PREFIX
Constructor and Description |
---|
NotBeforeJwtClaimsValidator() |
Modifier and Type | Method and Description |
---|---|
boolean |
validate(JwtClaims claims,
io.micronaut.http.HttpRequest<?> request) |
protected boolean |
validate(com.nimbusds.jwt.JWTClaimsSet claimsSet) |
public static final java.lang.String NOT_BEFORE_PROP
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
- The JwtClaimsrequest
- HTTP Request