isError required boolean


true if an error occurred


use !isSuccess or !!error instead

error required null | AuthErrorPayload

Provides details about the error

isLoading required boolean


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

isSuccess required boolean

Returns true if the action is successful.

user required null | User

User information

accessToken required null | string

Access token (JWT)

refreshToken required null | string

Access token (JWT)