Uses of Class
io.helidon.security.jwt.Jwt
-
Uses of Jwt in io.helidon.security.jwt
Modifier and TypeMethodDescriptionJwt.Builder.build()
Build and instance of theJwt
.SignedJwt.getJwt()
Return a Jwt instance from this signed JWT.Modifier and TypeMethodDescriptionJwt.defaultTimeValidators()
Deprecated, for removal: This API element is subject to removal in a future version.Jwt.defaultTimeValidators
(Instant now, int timeSkewAmount, ChronoUnit timeSkewUnit, boolean mandatory) Deprecated, for removal: This API element is subject to removal in a future version.Modifier and TypeMethodDescriptionstatic SignedJwt
Sign a jwt using an explicit jwk.static SignedJwt
Sign a jwt using a key obtained based on kid fromJwkKeys
.void
AudienceValidator.validate
(Jwt jwt, Errors.Collector collector, List<ClaimValidator> validators) void
ClaimValidator.validate
(Jwt jwt, Errors.Collector collector, List<ClaimValidator> validators) Validate JWT against this class's configuration.void
ExpirationValidator.validate
(Jwt token, Errors.Collector collector, List<ClaimValidator> validators) void
FieldValidator.validate
(Jwt token, Errors.Collector collector, List<ClaimValidator> validators) void
IssueTimeValidator.validate
(Jwt token, Errors.Collector collector, List<ClaimValidator> validators) void
Jwt.ExpirationValidator.validate
(Jwt token, Errors.Collector collector) Deprecated, for removal: This API element is subject to removal in a future version.void
Jwt.FieldValidator.validate
(Jwt token, Errors.Collector collector) Deprecated, for removal: This API element is subject to removal in a future version.void
Jwt.IssueTimeValidator.validate
(Jwt token, Errors.Collector collector) Deprecated, for removal: This API element is subject to removal in a future version.void
Jwt.NotBeforeValidator.validate
(Jwt token, Errors.Collector collector) Deprecated, for removal: This API element is subject to removal in a future version.Validate configured validators against providedJwt
.void
MaxTokenAgeValidator.validate
(Jwt jwt, Errors.Collector collector, List<ClaimValidator> validators) void
NotBeforeValidator.validate
(Jwt token, Errors.Collector collector, List<ClaimValidator> validators) void
UserPrincipalValidator.validate
(Jwt object, Errors.Collector collector, List<ClaimValidator> validators) Modifier and TypeMethodDescriptionstatic void
Jwt.addAudienceValidator
(Collection<Validator<Jwt>> validators, String audience, boolean mandatory) Deprecated, for removal: This API element is subject to removal in a future version.static void
Jwt.addAudienceValidator
(Collection<Validator<Jwt>> validators, Set<String> audience, boolean mandatory) Deprecated, for removal: This API element is subject to removal in a future version.static void
Jwt.addIssuerValidator
(Collection<Validator<Jwt>> validators, String issuer, boolean mandatory) Deprecated, for removal: This API element is subject to removal in a future version.static void
Jwt.addMaxTokenAgeValidator
(Collection<Validator<Jwt>> validators, Duration expectedMaxTokenAge, Duration clockSkew, boolean iatRequired) Deprecated, for removal: This API element is subject to removal in a future version.static void
Jwt.addUserPrincipalValidator
(Collection<Validator<Jwt>> validators) Deprecated, for removal: This API element is subject to removal in a future version.useJwtValidator.Builder.addUserPrincipalValidator()
insteadJwtValidator.Builder.addValidator
(JwtScope scope, Validator<Jwt> validator, String... claims) AddValidator
instance among the claim validators.JwtValidator.Builder.addValidator
(Validator<Jwt> validator, String... claims) AddValidator
instance among the claim validators.static Jwt.FieldValidator
Jwt.FieldValidator.create
(Function<Jwt, Optional<String>> fieldAccessor, String name, String expectedValue) Deprecated, for removal: This API element is subject to removal in a future version.A generic optional field validator based on a function to get the field.static Jwt.FieldValidator
Jwt.FieldValidator.create
(Function<Jwt, Optional<String>> fieldAccessor, String name, String expectedValue, boolean mandatory) Deprecated, for removal: This API element is subject to removal in a future version.A generic field validator based on a function to get the field.FieldValidator.Builder.fieldAccessor
(Function<Jwt, Optional<String>> fieldAccessor) Function to extract field from JWT.Deprecated, for removal: This API element is subject to removal in a future version.useJwtValidator.validate(Jwt)
instead
JwtValidator.Builder.addDefaultTimeValidators()
instead