Auth
Register a WebAuthn credential
Runs WebAuthn enrollment, challenge, and verification in one operation.
Parameters
friendlyNamestring- A user-facing name for the credential.
webauthn.rpId?string- The relying-party ID. Defaults to the current hostname in a browser.
webauthn.rpOrigins?string[]- Allowed origins. Defaults to the current origin in a browser.
webauthn.signal?AbortSignal- Signal used to cancel the browser operation.
overrides?Partial<PublicKeyCredentialCreationOptions>- Overrides passed to navigator.credentials.create.