Skip to main content

Interface: StoredPasskeyCredential

Defined in: src/auth/types.ts:75

A previously-registered WebAuthn credential as persisted by the consuming application.

Properties

counter

counter: number

Defined in: src/auth/types.ts:83

The last-known signature counter for this credential, used to detect cloned authenticators.


id

id: string

Defined in: src/auth/types.ts:77

The base64url-encoded credential ID.


publicKey

publicKey: Uint8Array

Defined in: src/auth/types.ts:81

The credential's public key, as returned by the registration ceremony.


transports?

optional transports?: PasskeyTransport[]

Defined in: src/auth/types.ts:85

The transports the authenticator reported supporting, if any (e.g. ["internal", "hybrid"]).


uid

uid: string

Defined in: src/auth/types.ts:79

The uid of the user this credential belongs to.