useSignUpEmailSecurityKey()
Use the composable useSignUpEmailSecurityKey to sign up a user with security key and an email using the WebAuthn API.
const { signUpEmailSecurityKey, needsEmailVerification, isLoading, isSuccess, isError, error} = useSignUpEmailSecurityKey()
console.log({ needsEmailVerification, isLoading, isSuccess, isError, error })
const handleFormSubmit = async (e) => { e.preventDefault()
await signUpEmailSecurityKey('joe@example.com')}Parameters
Section titled “Parameters”options optional SignUpSecurityKeyOptions