Start the process of adding a new WebAuthn security key to the user’s account. Returns a challenge that must be completed by the user’s authenticator device. Requires elevated permissions.
Bearer authentication that requires elevated permissions. Used for sensitive operations that may require additional security measures such as recent authentication. For details see https://docs.nhost.io/products/auth/elevated-permissions
Challenge created for registering a new security key
Base64url-encoded binary data
The desired credential types and their respective cryptographic parameters
A time, in milliseconds, that the caller is willing to wait for the call to complete
A list of PublicKeyCredentialDescriptor objects representing public key credentials that are not acceptable to the caller
Hints to help guide the user through the experience
Hints to help guide the user through the experience
security-key, client-device, hybrid The attestation conveyance preference
none, indirect, direct, enterprise The preferred attestation statement formats
The attestation statement format
packed, tpm, android-key, android-safetynet, fido-u2f, apple, none Additional parameters requesting additional processing by the client and authenticator