Uses of Interface
io.helidon.security.jwt.Validator
-
Uses of Validator in io.helidon.security.jwt
Modifier and TypeClassDescriptionstatic final class
Validator of expiration claim.static final class
Validator of a string field obtained from a JWT.static final class
Validator of issue time claim.static final class
Validator of not before claim.Modifier and TypeMethodDescriptionJwt.defaultTimeValidators()
Return a list of validators to validate expiration time, issue time and not-before time.Jwt.defaultTimeValidators
(Instant now, int timeSkewAmount, ChronoUnit timeSkewUnit, boolean mandatory) Return a list of validators to validate expiration time, issue time and not-before time.Modifier and TypeMethodDescriptionstatic void
Jwt.addAudienceValidator
(Collection<Validator<Jwt>> validators, String audience, boolean mandatory) Add validator of audience to the collection of validators.static void
Jwt.addAudienceValidator
(Collection<Validator<Jwt>> validators, Set<String> audience, boolean mandatory) Add validator of audience to the collection of validators.static void
Jwt.addIssuerValidator
(Collection<Validator<Jwt>> validators, String issuer, boolean mandatory) Add validator of issuer to the collection of validators.static void
Jwt.addUserPrincipalValidator
(Collection<Validator<Jwt>> validators) Adds a validator that makes sure theJwt.userPrincipal()
is present.Validate this JWT against provided validators.