CredentialDescriptor

@Serializable
data class CredentialDescriptor(val type: String = "public-key", val id: String, val transports: List<String>? = null)

Credential descriptor for allowCredentials/excludeCredentials.

Constructors

Link copied to clipboard
constructor(type: String = "public-key", id: String, transports: List<String>? = null)

Properties

Link copied to clipboard
val id: String

Base64url-encoded credential ID

Link copied to clipboard

Transport hints (e.g., "internal", "usb", "nfc", "ble", "hybrid")

Link copied to clipboard

Credential type, always "public-key"