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