Overview
Creates a new passkey authenticator for the user.- This function generates a new passkey attestation and challenge, suitable for registration with the user’s device.
- Handles both web and React Native environments, automatically selecting the appropriate passkey creation flow.
- The resulting attestation and challenge can be used to register the passkey with Turnkey.
Package: core
Defined in: clients/core.ts:233
Parameters
Response
A successful response returns the following fields:A promise that resolves to CreatePasskeyResult