Package org.keycloak.sdjwt
Class ClaimVerifier.NegatedClaimCheck
java.lang.Object
org.keycloak.sdjwt.ClaimVerifier.ClaimCheck
org.keycloak.sdjwt.ClaimVerifier.NegatedClaimCheck
- All Implemented Interfaces:
ClaimVerifier.Predicate<com.fasterxml.jackson.databind.node.ObjectNode>
- Enclosing class:
- ClaimVerifier
-
Constructor Summary
ConstructorsConstructorDescriptionNegatedClaimCheck(String claimName, String expectedClaimValue) NegatedClaimCheck(String claimName, String expectedClaimValue, boolean isOptional) NegatedClaimCheck(String claimName, String expectedClaimValue, BiFunction<String, String, Boolean> stringComparator) NegatedClaimCheck(String claimName, String expectedClaimValue, BiFunction<String, String, Boolean> stringComparator, boolean isOptional) -
Method Summary
Modifier and TypeMethodDescriptionbooleantest(com.fasterxml.jackson.databind.node.ObjectNode t) Performs a single check on the given token verifier.Methods inherited from class org.keycloak.sdjwt.ClaimVerifier.ClaimCheck
getClaimName, getDefaultComparator, getExpectedClaimValue, isOptionalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.sdjwt.ClaimVerifier.Predicate
getCurrentTimestamp
-
Constructor Details
-
NegatedClaimCheck
-
NegatedClaimCheck
-
NegatedClaimCheck
-
NegatedClaimCheck
-
-
Method Details
-
test
Description copied from interface:ClaimVerifier.PredicatePerforms a single check on the given token verifier.- Specified by:
testin interfaceClaimVerifier.Predicate<com.fasterxml.jackson.databind.node.ObjectNode>- Overrides:
testin classClaimVerifier.ClaimCheck- Parameters:
t- Token, guaranteed to be non-null.- Returns:
- Throws:
VerificationException
-