Uses of Interface
org.forgerock.openig.tools.jwt.JwtConstraint
-
Packages that use JwtConstraint Package Description org.forgerock.openig.tools.jwt This package contains classes used to perform JWT validation. -
-
Uses of JwtConstraint in org.forgerock.openig.tools.jwt
Methods in org.forgerock.openig.tools.jwt that return JwtConstraint Modifier and Type Method Description static JwtConstraint
Constraints. canBeDecrypted(SecretsProvider secretsProvider, Purpose<DataDecryptionKey> purpose)
Provides aJwtConstraint
configured with the suppliedSecretsProvider
that contain a secret capable of decrypting and verifying a JWT's encryption.static JwtConstraint
Constraints. hasClaims()
Returnsempty
if the JWT does contain claims.static JwtConstraint
Constraints. hasValidSignature(JwsSignatureVerifier verifier)
Validates the signature of thisSignedJwt
.static JwtConstraint
Constraints. hasValidSignatureAndEncryption(JwtConstraint signatureConstraint, JwtConstraint decryptionConstraint)
Provides aJwtConstraint
configured with the suppliedJwtConstraint
s verifying both signature and encryption.Methods in org.forgerock.openig.tools.jwt with parameters of type JwtConstraint Modifier and Type Method Description static JwtConstraint
Constraints. hasValidSignatureAndEncryption(JwtConstraint signatureConstraint, JwtConstraint decryptionConstraint)
Provides aJwtConstraint
configured with the suppliedJwtConstraint
s verifying both signature and encryption.JwtValidator.Builder
JwtValidator.Builder. jwt(JwtConstraint jwtConstraint)
Adds aJwtConstraint
on the JWT.
-