CredmanCredentialOffer

data class CredmanCredentialOffer(val protocol: String, val offer: JsonObject)

A credential offer received through the W3C Digital Credentials API, i.e. from a website calling navigator.credentials.create().

Constructors

Link copied to clipboard
constructor(protocol: String, offer: JsonObject)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val offer: JsonObject

the OpenID4VCI credential offer.

Link copied to clipboard

the protocol identifier of the request which contained the offer, e.g. openid4vci-v1.

Functions

Link copied to clipboard
fun buildResponse(): JsonObject

Builds the response to return to the website once the credential has been provisioned.