Skip to main content

Interface: RegistrationOptions

Defined in: src/types/interfaces/webauthn.interface.ts:91

Registration challenge options.

Properties

attestation?

readonly optional attestation: "none" | "indirect" | "direct"

Defined in: src/types/interfaces/webauthn.interface.ts:109

Attestation preference.

Default Value

'none'

authenticatorAttachment?

readonly optional authenticatorAttachment: "platform" | "cross-platform"

Defined in: src/types/interfaces/webauthn.interface.ts:114

Authenticator attachment preference.


nickname?

readonly optional nickname: string

Defined in: src/types/interfaces/webauthn.interface.ts:95

User-provided nickname for the credential.


userVerification?

readonly optional userVerification: "required" | "preferred" | "discouraged"

Defined in: src/types/interfaces/webauthn.interface.ts:102

Require user verification (biometric/PIN).

Default Value

'preferred'