SimpleConsentClaim

Constructors

Link copied to clipboard
protected constructor()

Types

Link copied to clipboard

Sharing the holder's birth year (age_birth_year).

Link copied to clipboard

Sharing the holder's birth year (age_birth_year) along with the holder's portrait.

Link copied to clipboard

Sharing the holder's age in years (age_in_years).

Link copied to clipboard

Sharing the holder's age in years (age_in_years) along with the holder's portrait.

Link copied to clipboard
data class AgeOver(val age: Int) : SimpleConsentClaim

Proving that the holder is at least age years old (e.g., age_over_21, age_over_18, age_above18, or age_equal_or_over.21).

Link copied to clipboard

Proving that the holder is at least age years old along with sharing the holder's portrait.

Link copied to clipboard
data class NotAgeOver(val age: Int) : SimpleConsentClaim

Sharing that the holder is not at least age years old (when an age_over_NN, age_aboveNN, or age_equal_or_over.NN claim in the credential has value false).

Link copied to clipboard

Sharing that the holder is not at least age years old along with sharing the holder's portrait.