Class OID4VCITokenVerifier
java.lang.Object
org.keycloak.protocol.oid4vc.verifier.OID4VCITokenVerifier
- All Implemented Interfaces:
TokenVerifier.Predicate<AccessToken>
Validates that tokens are only used on endpoints allowed by their grant type.
This ensures Pre-Authorized Code tokens are restricted to the credential endpoint,
and other grant types only access their intended endpoints.
-
Method Summary
Modifier and TypeMethodDescriptionbooleantest(AccessToken token) Performs a single check on the given token verifier.
-
Method Details
-
test
Description copied from interface:TokenVerifier.PredicatePerforms a single check on the given token verifier.- Specified by:
testin interfaceTokenVerifier.Predicate<AccessToken>- Parameters:
token- Token, guaranteed to be non-null.- Returns:
- Throws:
VerificationException
-