For AI agents: the documentation index is at llms.txt. Guide pages have a markdown version at the same path with .md appended, before any query string or fragment.

JavaScript: registerPasskey

Register a passkey for the current authenticated user. Handles the full WebAuthn ceremony:

  1. Fetches registration challenge from server
  2. Prompts user via navigator.credentials.create()
  3. Verifies credential with server

Requires an active session.

Parameters