Uses of Class
io.helidon.security.jwt.Jwt
Packages that use Jwt
-
Uses of Jwt in io.helidon.security.jwt
Methods in io.helidon.security.jwt that return JwtModifier and TypeMethodDescriptionJwt.Builder.build()Build and instance of theJwt.SignedJwt.getJwt()Return a Jwt instance from this signed JWT.Methods in io.helidon.security.jwt that return types with arguments of type JwtModifier 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.Methods in io.helidon.security.jwt with parameters of type JwtModifier and TypeMethodDescriptionstatic SignedJwtSign a jwt using an explicit jwk.static SignedJwtSign a jwt using a key obtained based on kid fromJwkKeys.voidJwt.ExpirationValidator.validate(Jwt token, Errors.Collector collector) voidJwt.FieldValidator.validate(Jwt token, Errors.Collector collector) voidJwt.IssueTimeValidator.validate(Jwt token, Errors.Collector collector) voidJwt.NotBeforeValidator.validate(Jwt token, Errors.Collector collector) Method parameters in io.helidon.security.jwt with type arguments of type JwtModifier and TypeMethodDescriptionstatic voidJwt.addAudienceValidator(Collection<Validator<Jwt>> validators, String audience, boolean mandatory) Add validator of audience to the collection of validators.static voidJwt.addAudienceValidator(Collection<Validator<Jwt>> validators, Set<String> audience, boolean mandatory) Add validator of audience to the collection of validators.static voidJwt.addIssuerValidator(Collection<Validator<Jwt>> validators, String issuer, boolean mandatory) Add validator of issuer to the collection of validators.static voidJwt.addMaxTokenAgeValidator(Collection<Validator<Jwt>> validators, Duration expectedMaxTokenAge, Duration clockSkew, boolean iatRequired) Add validator of max token age to the collection of validators.static voidJwt.addUserPrincipalValidator(Collection<Validator<Jwt>> validators) Adds a validator that makes sure theuserPrincipal()is present.static Jwt.FieldValidatorJwt.FieldValidator.create(Function<Jwt, Optional<String>> fieldAccessor, String name, String expectedValue) A generic optional field validator based on a function to get the field.static Jwt.FieldValidatorJwt.FieldValidator.create(Function<Jwt, Optional<String>> fieldAccessor, String name, String expectedValue, boolean mandatory) A generic field validator based on a function to get the field.Validate this JWT against provided validators.