SignInSmsPasswordlessComposableResult

Parameters


needsOtp required Ref<boolean>

Returns true when the one-time password has been sent over by SMS, and the user needs to send it back to complete sign-in.


isError required Ref<boolean>

@returns

true if an error occurred

@depreacted

use !isSuccess or !!error instead


error required Ref<null | AuthErrorPayload>

Provides details about the error


isLoading required Ref<boolean>

@returns

true when the action is executing, false when it finished its execution.


isSuccess required Ref<boolean>

Returns true if the action is successful.


signInSmsPasswordless required SignInSmsPasswordlessHandler

Sends a one-time code to the given phoneNumber


sendOtp required SignInSmsPasswordlessOtpHandler