Event Callbacks
onOtpVerificationResult
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
🚀 Stablecoin Accounts are live! Learn more
type onOtpVerificationResult = (
isSuccess: boolean,
destination: 'email' | 'sms'
) => void
useOtpVerificationRequest hook,
or by email/phone number verification from updateUser, under the
useUserUpdateRequest hook. You are expected to decide when verification
should be declared “successful” when using these methods<DynamicContextProvider
settings={{
events: {
onOtpVerificationResult: (isSuccess, destination) => {
console.log(
destination + ' verification ' + (isSuccess ? 'success' : 'failed')
)
},
},
}}
>
{/* ... rest of your app ... */}
</DynamicContextProvider>
Was this page helpful?