DocumentCannedRequest
data class DocumentCannedRequest(val id: String, val displayName: String, val mdocRequest: MdocCannedRequest?, val jsonRequest: JsonCannedRequest?)
Class representing a well-known document request.
Parameters
id
an identifier for the well-known document request (unique only for the document type).
displayName
a short string with the name of the request, short enough to be used for a button. For example "Age Over 21 and Portrait" or "Full mDL".
mdocRequest
the request for a ISO mdoc credential, if defined.
jsonRequest
the request for a JSON-based credential, if defined.
Constructors
Link copied to clipboard
constructor(id: String, displayName: String, mdocRequest: MdocCannedRequest?, jsonRequest: JsonCannedRequest?)