- 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:311
A promise that resolves to CreatePasskeyResult