ConsentRiskLevel

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.

Entries

Link copied to clipboard

Normal-risk request (e.g., trusted relying party and trusted encryption target requesting a recognized purpose with known claims, or an unverified/anonymous proximity relying party requesting only low-sensitivity non-PII claims such as age_over_21 and portrait without retention or transaction data). The RP-info box is rendered on a neutral surface at the bottom of the prompt.

Link copied to clipboard

Moderate-risk request (e.g., an unverified relying party whose certificate is not in the wallet's trust list, an unverified encryption target that provided a certificate chain not in the trust list, an anonymous proximity relying party requesting PII, retention, or transaction data, or an anonymous over-the-Internet/app-to-app relying party making a low-sensitivity request without retention or transaction data). The RP-info box is rendered in a yellow/amber warning box at the top of the prompt.

Link copied to clipboard

High-risk request (e.g., unrecognized purpose, unknown claim, anonymous encryption target with no certificate chain, or an anonymous over-the-Internet/app-to-app relying party requesting PII, data retention, or transaction data). The RP-info box is rendered in a red danger box at the top of the prompt and a 5-second cool-off timer is required.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.