Package org.keycloak.sdjwt.consumer
Interface PresentationRequirements
- All Known Implementing Classes:
SimplePresentationDefinition
public interface PresentationRequirements
Presentation requirements to constrain the kind of credential expected.
This mirrors the idea of the expressive DIF Presentation Definition, while enabling simpler alternatives.
- Author:
- Ingrid Kamga
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkIfSatisfiedBy
(com.fasterxml.jackson.databind.JsonNode disclosedPayload) Ensures that the configured requirements are satisfied by the presentation.
-
Method Details
-
checkIfSatisfiedBy
void checkIfSatisfiedBy(com.fasterxml.jackson.databind.JsonNode disclosedPayload) throws VerificationException Ensures that the configured requirements are satisfied by the presentation.- Parameters:
disclosedPayload
- The fully disclosed Issuer-signed JWT of the presented token.- Throws:
VerificationException
- if the configured requirements are not satisfied.
-