@Singleton @Requires(property="micronaut.security.token.jwt.claims-validators.audience") public class AudienceJwtClaimsValidator extends java.lang.Object implements GenericJwtClaimsValidator
PREFIX
Constructor and Description |
---|
AudienceJwtClaimsValidator(JwtClaimsValidatorConfiguration jwtClaimsValidatorConfiguration) |
Modifier and Type | Method and Description |
---|---|
boolean |
validate(JwtClaims claims,
io.micronaut.http.HttpRequest<?> request) |
protected boolean |
validate(com.nimbusds.jwt.JWTClaimsSet claimsSet) |
public AudienceJwtClaimsValidator(JwtClaimsValidatorConfiguration jwtClaimsValidatorConfiguration)
jwtClaimsValidatorConfiguration
- JWT Claims Validator Configurationprotected 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