Uses of Class
io.helidon.security.jwt.JwtValidator.Builder
-
Uses of JwtValidator.Builder in io.helidon.security.jwt
Modifier and TypeMethodDescriptionJwtValidator.Builder.addAudienceValidator
(String expectedAudience) Add newAudienceValidator
with the expected audience.JwtValidator.Builder.addAudienceValidator
(Consumer<AudienceValidator.Builder> builderConsumer) Add newAudienceValidator
instance based on the builder configuration.JwtValidator.Builder.addAudienceValidator
(Set<String> expectedAudience) Add newAudienceValidator
with the expected audience.JwtValidator.Builder.addClaimValidator
(ClaimValidator claimValidator) AddClaimValidator
instance.JwtValidator.Builder.addCriticalValidator()
Add new "crit" claim validator.JwtValidator.Builder.addDefaultTimeValidators()
Add default time validators.JwtValidator.Builder.addDefaultTimeValidators
(Instant now, Duration allowedTimeSkew, boolean mandatory) Add default time validators with specific time settings.JwtValidator.Builder.addExpirationValidator()
Add newExpirationValidator
instance.JwtValidator.Builder.addExpirationValidator
(Consumer<ExpirationValidator.Builder> builderConsumer) Add newExpirationValidator
instance based on the builder configuration.JwtValidator.Builder.addFieldValidator
(Consumer<FieldValidator.Builder> builderConsumer) Add newFieldValidator
based on the builder configuration.JwtValidator.Builder.addHeaderFieldValidator
(String claimKey, String fieldName, String expectedValue) Add newFieldValidator
of the header field.JwtValidator.Builder.addIssuerValidator
(String expectedIssuer) Add new JWT issuer validator.JwtValidator.Builder.addIssuerValidator
(String expectedIssuer, boolean mandatory) Add new JWT issuer validator.JwtValidator.Builder.addIssueTimeValidator()
Add newIssueTimeValidator
instance.JwtValidator.Builder.addIssueTimeValidator
(Consumer<IssueTimeValidator.Builder> builderConsumer) Add newIssueTimeValidator
instance based on the builder configuration.JwtValidator.Builder.addMaxTokenAgeValidator
(Duration expectedMaxTokenAge) Add newMaxTokenAgeValidator
with the expected max token age.JwtValidator.Builder.addMaxTokenAgeValidator
(Consumer<MaxTokenAgeValidator.Builder> builderConsumer) Add newMaxTokenAgeValidator
instance based on the builder configuration.JwtValidator.Builder.addNotBeforeValidator()
Add newNotBeforeValidator
instance.JwtValidator.Builder.addNotBeforeValidator
(Consumer<NotBeforeValidator.Builder> builderConsumer) Add newNotBeforeValidator
instance based on the builder configuration.JwtValidator.Builder.addPayloadFieldValidator
(String claimKey, String fieldName, String expectedValue) Add newFieldValidator
of the payload field.JwtValidator.Builder.addUserPrincipalValidator()
Add newUserPrincipalValidator
.JwtValidator.Builder.addUserPrincipalValidator
(Consumer<UserPrincipalValidator.Builder> builderConsumer) Add newUserPrincipalValidator
instance based on the builder configuration.JwtValidator.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 JwtValidator.Builder
JwtValidator.builder()
Return a new Builder of theJwtValidator
.JwtValidator.Builder.clearValidators()
Clear all add validators.