DCAPIWalletRequest

@Serializable
sealed interface DCAPIWalletRequest(source)

Abstract base class for requests received by the wallet via the Digital Credentials API.

Inheritors

Types

Link copied to clipboard
@Serializable
data class IsoMdoc(val isoMdocRequest: IsoMdocRequest, val credentialId: String? = null, val callingPackageName: String? = null, val callingOrigin: String) : DCAPIWalletRequest
Link copied to clipboard
sealed class OpenId4Vp
Link copied to clipboard
@Serializable
data class OpenId4VpSigned(val request: RequestParameters, val credentialId: String, val callingPackageName: String, val callingOrigin: String) : DCAPIWalletRequest, DCAPIWalletRequest.OpenId4Vp
Link copied to clipboard
@Serializable
data class OpenId4VpUnsigned(val request: RequestParameters, val credentialId: String, val callingPackageName: String, val callingOrigin: String) : DCAPIWalletRequest, DCAPIWalletRequest.OpenId4Vp

Properties

Link copied to clipboard
abstract val callingOrigin: String
Link copied to clipboard
abstract val callingPackageName: String?

The package name of the calling (browser) application providing the calling origin. Not available on iOS.

Link copied to clipboard
abstract val credentialId: String?

The credential ID of the credential the user has chosen in the UI provided by the system. Not available on iOS.

Link copied to clipboard