Overview
A React hook that provides a function to register a new passkey for the authenticated user. The hook returns a memoized function that can be called to initiate the passkey registration flow.Returns
A promise resolving to aVerifyResponse
object.
Type Signature
Parameters
None - the hook takes no parameters.Example Usage
Notes
- The registration process is asynchronous and may require user interaction (biometric authentication, etc.)
- The hook should only be used within a Dynamic context provider