needsOtp required 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 boolean


true if an error occurred


use !isSuccess or !!error instead

error required null | AuthErrorPayload

Provides details about the error

isSuccess required boolean

Returns true if the action is successful.