Skip to content

useElevateSecurityKeyEmail()

Use the composable 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')