Package-level declarations
Types
Function that classifies the PresentmentPurposes for the active selections in presentmentData.
Function that evaluates the ConsentRiskAssessment for the active selections in presentmentData and the classified purposes.
Function that evaluates whether the active selections in presentmentData qualify as a SimpleConsent request, returning null if the full consent prompt should be used.
The evaluated risk level and accompanying reasons for a credential presentment request.
Risk level evaluated for a credential presentment request to determine the placement and styling of the relying party information box, as well as whether a cool-off timer is enforced on the confirmation button.
Specific risk reason(s) explaining why a presentment request was classified with a given ConsentRiskLevel.
High-level, opinionated purpose classification for a credential presentment use-case.
Represents a simple, well-defined, non-PII credential presentment request that can be combined with biometric authentication.
High-level classification of the specific non-PII claim being requested in a SimpleConsent.
Functions
Default ClassifyPurposesFn implementation that classifies the PresentmentPurposes across all selected use-cases in presentmentData.
Default ClassifyRiskFn implementation that evaluates the ConsentRiskAssessment for a presentmentData given the trustedRequesterIdentity, the active selections per use-case, and the classified purposes.
Default ClassifySimpleConsentFn implementation that checks whether a credential presentment request qualifies as a simple, well-defined non-PII request (such as age verification) that can be combined with biometric authentication.