DocumentCannedRequest

protected constructor(id: String, displayName: String)

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 requests for a ISO mdoc credential, if defined.

jsonRequest

the requests for a JSON-based credential, if defined.