java.lang.Object
io.helidon.security.jwt.AudienceValidator
- All Implemented Interfaces:
ClaimValidator
Audience claim validator.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AudienceValidator.Builder
builder()
Return a new Builder instance.claims()
Handled JWT claims.jwtScope()
Scope of the JWT claims.void
validate
(Jwt jwt, Errors.Collector collector, List<ClaimValidator> validators) Validate JWT against this class's configuration.
-
Method Details
-
builder
Return a new Builder instance.- Returns:
- new builder instance
-
validate
Description copied from interface:ClaimValidator
Validate JWT against this class's configuration.- Parameters:
jwt
- jwt to validatecollector
- collector of error messages to add problems to. UseErrors.Collector.fatal(Object, String)
to mark the validation as a failurevalidators
- immutable list of all currently processed claim validators
-
jwtScope
Description copied from interface:ClaimValidator
Scope of the JWT claims.- Specified by:
jwtScope
in interfaceClaimValidator
- Returns:
- JWT claim scope
-
claims
Description copied from interface:ClaimValidator
Handled JWT claims.- Specified by:
claims
in interfaceClaimValidator
- Returns:
- claims
-