Skip to content

basalt / auth/src / StoredChallenge

Interface: StoredChallenge ​

Defined in: auth/src/webauthn.ts:98

A stored challenge plus the subject (user id) it was issued for, if any.

Properties ​

challenge ​

> challenge: string

Defined in: auth/src/webauthn.ts:99


userId? ​

> optional userId?: string

Defined in: auth/src/webauthn.ts:105

The user the challenge is bound to — enforced at finish: a registration binds the new passkey to this user, an authentication started for a user only accepts that user's passkeys.

Released under the MIT License.