Uses of Class
org.forgerock.openig.tools.jwt.validation.JwtValidator.Builder
Packages that use JwtValidator.Builder
Package
Description
This package contains the components used to implement some JWT related filter.
This package contains classes used to perform JWT validation.
-
Uses of JwtValidator.Builder in org.forgerock.openig.filter.jwt
Methods in org.forgerock.openig.filter.jwt with parameters of type JwtValidator.BuilderModifier and TypeMethodDescriptionvoidJwtValidatorCustomizer.enrich(JwtValidator.Builder builder) This method enriches aJwtValidator.Builderby adding claim checks.voidScriptableJwtValidatorCustomizer.enrich(JwtValidator.Builder builder) -
Uses of JwtValidator.Builder in org.forgerock.openig.tools.jwt.validation
Methods in org.forgerock.openig.tools.jwt.validation that return JwtValidator.BuilderModifier and TypeMethodDescriptionstatic JwtValidator.BuilderBuilder for the JwtValidator with a clock to use for temporal constraints.JwtValidator.Builder.claim(String key, JwtClaimConstraint<JsonValue> jwtClaimConstraint) Adds aJwtClaimConstrainton a claim.<T,E extends Exception>
JwtValidator.BuilderJwtValidator.Builder.claim(String key, Function<JsonValue, ? extends T, E> transformer, JwtClaimConstraint<T> jwtClaimConstraint) Adds aJwtClaimConstrainton a claim.JwtValidator.Builder.claims(String key, JwtClaimConstraint<String> jwtClaimConstraint) Adds aJwtClaimConstrainton a claim.JwtValidator.Builder.claimSet(String key, Function<Optional<JwtClaimsSet>, Optional<T>> adapter, JwtClaimConstraint<T> jwtClaimConstraint) Deprecated.since 2024.3.0, with OPENIG-8029.JwtValidator.Builder.claimSet(String key, Function<Optional<JwtClaimsSet>, Optional<T>> adapter, JwtClaimConstraint<T> jwtClaimConstraint, boolean optional) Adds aJwtClaimConstrainton the claimSet.JwtValidator.Builder.jwt(JwtConstraint jwtConstraint) Adds aJwtConstrainton the JWT.JwtValidator.Builder.optionalClaim(String key, JwtClaimConstraint<JsonValue> jwtClaimConstraint) Adds aJsonValuebasedJwtClaimConstrainton an optional claim.<T,E extends Exception>
JwtValidator.BuilderJwtValidator.Builder.optionalClaim(String key, Function<JsonValue, ? extends T, E> transformer, JwtClaimConstraint<T> jwtClaimConstraint) Adds aJwtClaimConstrainton an optional claim.JwtValidator.Builder.optionalClaims(String key, JwtClaimConstraint<String> jwtClaimConstraint) Adds aStringbasedJwtClaimConstrainton an optional claim.JwtValidator.Builder.withSkewAllowance(TemporalAmount skewAllowance) Specifies the skew allowance to use for temporal constraints validations.