Skip to content

basalt / auth/src / WebAuthnServiceOptions

Interface: WebAuthnServiceOptions ​

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

Properties ​

challenges ​

> challenges: WebAuthnChallengeStore

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


config ​

> config: WebAuthnConfig

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


credentials ​

> credentials: PasskeyStore

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


now? ​

> optional now?: () => number

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

Returns ​

number


randomChallenge? ​

> optional randomChallenge?: () => string

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

Challenge generator (tests). Default: 32 random bytes, base64url.

Returns ​

string


verifier ​

> verifier: WebAuthnVerifier

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

Released under the MIT License.