WebauthnRegistrationOptions
The WebauthnRegistrationOptions type of the TypeScript SDK, which securityKeys.beginRegistration take or answer.
type WebauthnRegistrationOptions = {
attestation: 'none'
authenticatorSelection: WebauthnRegistrationOptionsAuthenticatorSelection
challenge: string
excludeCredentials: WebauthnRegistrationOptionsExcludeCredentialsItem[]
pubKeyCredParams: WebauthnRegistrationOptionsPubKeyCredParamsItem[]
rp: WebauthnRegistrationOptionsRp
timeout: number
user: WebauthnRegistrationOptionsUser
}Fields
| Field | Type | Description |
|---|---|---|
attestation | 'none' | Attestation conveyance preference |
authenticatorSelection | WebauthnRegistrationOptionsAuthenticatorSelection | |
challenge | string | Base64url-encoded one-time challenge |
excludeCredentials | WebauthnRegistrationOptionsExcludeCredentialsItem[] | Credentials to exclude to prevent duplicate enrollment |
pubKeyCredParams | WebauthnRegistrationOptionsPubKeyCredParamsItem[] | Supported cryptographic algorithms |
rp | WebauthnRegistrationOptionsRp | |
timeout | number | Ceremony timeout in milliseconds |
user | WebauthnRegistrationOptionsUser |
Used by
| Method | What it does |
|---|---|
securityKeys.beginRegistration | Begin WebAuthn security key registration |
WebauthnCredential
The WebauthnCredential type of the TypeScript SDK, which securityKeys.finishRegistration and securityKeys.list take or answer.
WebauthnRegistrationOptionsAuthenticatorSelection
The WebauthnRegistrationOptionsAuthenticatorSelection type of the TypeScript SDK, part of WebauthnRegistrationOptions.