useElevateSecurityKeyEmail
to elevate the user auth permission in order to perform sensitive operations
const { elevateEmailSecurityKey, elevated } = useElevateSecurityKeyEmail()
watchEffect(() => {
console.log(elevated)
})
await elevateEmailSecurityKey('joe@example.com')
Was this page helpful?