java.lang.Object
io.helidon.security.jwt.IssueTimeValidator
- All Implemented Interfaces:
ClaimValidator
Validator of the issue time claim.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic IssueTimeValidator.Builder
builder()
Return a new Builder instance.claims()
Handled JWT claims.jwtScope()
Scope of the JWT claims.void
validate
(Jwt token, 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:
token
- 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
-