Uses of Interface
io.helidon.security.jwt.Validator
-
Packages that use Validator Package Description io.helidon.security.jwt JWT (JSON web token) support. -
-
Uses of Validator in io.helidon.security.jwt
Classes in io.helidon.security.jwt that implement Validator Modifier and Type Class Description static class
Jwt.ExpirationValidator
Validator of expiration claim.static class
Jwt.FieldValidator
Validator of a string field obtained from a JWT.static class
Jwt.IssueTimeValidator
Validator of issue time claim.static class
Jwt.NotBeforeValidator
Validator of not before claim.Methods in io.helidon.security.jwt that return types with arguments of type Validator Modifier and Type Method Description static List<Validator<Jwt>>
Jwt. defaultTimeValidators()
Return a list of validators to validate expiration time, issue time and not-before time.static List<Validator<Jwt>>
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.Method parameters in io.helidon.security.jwt with type arguments of type Validator Modifier and Type Method Description static 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.Errors
Jwt. validate(List<Validator<Jwt>> validators)
Validate this JWT against provided validators.
-