Uses of Interface
uk.co.spudsoft.jwtvalidatorvertx.JwtValidator
Packages that use JwtValidator
-
Uses of JwtValidator in uk.co.spudsoft.jwtvalidatorvertx
Methods in uk.co.spudsoft.jwtvalidatorvertx that return JwtValidatorModifier and TypeMethodDescriptionJwtValidator.addPermittedAlgorithm
(String algorithm) Add a single algorithm to the current set of permitted algorithms.static JwtValidator
JwtValidator.create
(JsonWebKeySetHandler jsonWebKeySetHandler, IssuerAcceptabilityHandler issuerAcceptabilityHandler) Create a JwtValidatorVertx.static JwtValidator
JwtValidator.createDynamic
(io.vertx.ext.web.client.WebClient webClient, IssuerAcceptabilityHandler issuerAcceptabilityHandler, Duration defaultJwkCacheDuration) Create a JwtValidatorVertx that will use an OpenIdDiscoveryHandler to find JWKs from any acceptable issuer.static JwtValidator
JwtValidator.createStatic
(io.vertx.ext.web.client.WebClient webClient, Collection<String> jwksEndpoints, Duration defaultJwkCacheDuration, IssuerAcceptabilityHandler issuerAcceptabilityHandler) Create a JwtValidatorVertx that will use a fixed set of URLs for downloading JWKs.JwtValidator.setPermittedAlgorithms
(Set<String> algorithms) Replace the current set of permitted algorithms with a new set.JwtValidator.setRequireExp
(boolean requireExp) Set to true if the token is required to have an exp claim.JwtValidator.setRequireNbf
(boolean requireNbf) Set to true if the token is required to have an nbf claim.JwtValidator.setTimeLeeway
(Duration timeLeeway) Set the maximum amount of time that can pass between the exp and now. -
Uses of JwtValidator in uk.co.spudsoft.jwtvalidatorvertx.impl
Classes in uk.co.spudsoft.jwtvalidatorvertx.impl that implement JwtValidatorModifier and TypeClassDescriptionclass
Token validation for vertx - implementation ofJwtValidator
.Methods in uk.co.spudsoft.jwtvalidatorvertx.impl that return JwtValidatorModifier and TypeMethodDescriptionJwtValidatorVertxImpl.addPermittedAlgorithm
(String algorithm) JwtValidatorVertxImpl.setPermittedAlgorithms
(Set<String> algorithms) JwtValidatorVertxImpl.setRequireExp
(boolean requireExp) Set to true if the token is required to have an exp claim.JwtValidatorVertxImpl.setRequireNbf
(boolean requireNbf) Set to true if the token is required to have an nbf claim.JwtValidatorVertxImpl.setTimeLeeway
(Duration timeLeeway) Set the maximum amount of time that can pass between the exp and now.