Interface Passkey

Interface representing a passkey credential

interface Passkey {
    createdAt: number;
    credentialId: string;
    id: string;
    lastUsed?: number;
    name?: string;
    publicKey: Uint8Array | ArrayBuffer;
}

Properties

createdAt: number

Timestamp when passkey was created

credentialId: string

Base64-encoded credential ID from WebAuthn

id: string

Unique identifier for this passkey

lastUsed?: number

Timestamp when passkey was last used (optional)

name?: string

User-friendly name/description (optional)

publicKey: Uint8Array | ArrayBuffer

Public key data (COSE format)