RequestPreset

data class RequestPreset(val id: String, val section: String, val title: String, val subtitle: String, val request: PresentationRequest, val answer: PresetAnswer = PresetAnswer.Details, val symbol: String = "ID")

A fixed, named request a verifier operator can pick (e.g. "Age over 18").

Constructors

Link copied to clipboard
constructor(id: String, section: String, title: String, subtitle: String, request: PresentationRequest, answer: PresetAnswer = PresetAnswer.Details, symbol: String = "ID")

Properties

Link copied to clipboard

How the verifier presents the result (full details, or one big answer).

Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard

Grouping shown in the picker, e.g. the document name.

Link copied to clipboard
Link copied to clipboard

Short tile symbol in the picker, e.g. "18+", "ID".

Link copied to clipboard