Appearance
Documentation / react-auth / useLoginWithSms
Function: useLoginWithSms()
useLoginWithSms():
UseLoginWithSms
Use this hook to log the user in with sms, without using any Privy UIs.
Returns
sendCode - [sendCode]([object Object]) sends a one-time-code to the user's phone number.
loginWithCode - [loginWithCode]([object Object]) - logs a user in with a one-time-code, maximum 5 attempts.