PasskeyDetails

@Serializable
data class PasskeyDetails(val credentialId: String, val credentialPublicKey: String, val aaguid: String? = null, val attestationObject: String? = null, val counter: Int? = null, val credentialBackedUp: Boolean? = null, val credentialDeviceType: String? = null, val extensionResults: String? = null, val fmt: String? = null, val nickname: String? = null, val origin: String? = null, val passkeyProvider: String? = null, val prfSupported: Boolean? = null, val rpId: String? = null, val transports: List<String>? = null, val userVerified: Boolean? = null)

Represents the passkey credential details stored locally after registration.

This model mirrors WalletsCreatePasskeyRequest and is used to persist passkey information for later use in wallet operations.

Constructors

Link copied to clipboard
constructor(credentialId: String, credentialPublicKey: String, aaguid: String? = null, attestationObject: String? = null, counter: Int? = null, credentialBackedUp: Boolean? = null, credentialDeviceType: String? = null, extensionResults: String? = null, fmt: String? = null, nickname: String? = null, origin: String? = null, passkeyProvider: String? = null, prfSupported: Boolean? = null, rpId: String? = null, transports: List<String>? = null, userVerified: Boolean? = null)

Properties

Link copied to clipboard
@SerialName(value = "aaguid")
val aaguid: String?

The Authenticator Attestation GUID

Link copied to clipboard
@SerialName(value = "attestationObject")
val attestationObject: String?

The attestation object from registration

Link copied to clipboard
@SerialName(value = "counter")
val counter: Int?

The signature counter value

Link copied to clipboard
@SerialName(value = "credentialBackedUp")
val credentialBackedUp: Boolean?

Whether the credential is backed up

Link copied to clipboard
@SerialName(value = "credentialDeviceType")
val credentialDeviceType: String?

The device type (platform/cross-platform)

Link copied to clipboard
@SerialName(value = "credentialId")
val credentialId: String

The unique identifier for this credential (base64url encoded)

Link copied to clipboard
@SerialName(value = "credentialPublicKey")
val credentialPublicKey: String

The public key associated with this credential (base64url encoded)

Link copied to clipboard
@SerialName(value = "extensionResults")
val extensionResults: String?

Extension results from the credential operation

Link copied to clipboard
@SerialName(value = "fmt")
val fmt: String?

The attestation format

Link copied to clipboard
@SerialName(value = "nickname")
val nickname: String?

User-friendly name for the passkey

Link copied to clipboard
@SerialName(value = "origin")
val origin: String?

The origin where the credential was created

Link copied to clipboard
@SerialName(value = "passkeyProvider")
val passkeyProvider: String?

The passkey provider (e.g., iCloud, Google)

Link copied to clipboard
@SerialName(value = "prfSupported")
val prfSupported: Boolean?

Whether PRF extension is supported

Link copied to clipboard
@SerialName(value = "rpId")
val rpId: String?

The relying party identifier

Link copied to clipboard
@SerialName(value = "transports")
val transports: List<String>?

Supported transport methods

Link copied to clipboard
@SerialName(value = "userVerified")
val userVerified: Boolean?

Whether user verification was performed

Functions

Link copied to clipboard
fun PasskeyDetails.toCreatePasskeyRequest(): ERROR CLASS: Symbol not found for WalletsCreatePasskeyRequest

Converts PasskeyDetails to WalletsCreatePasskeyRequest.

Link copied to clipboard

Extension function to convert PasskeyDetails to PasskeyCredentialInfo.