ChangeEmailHookResult

Parameters


isError required boolean

@returns

true if an error occurred

@depreacted

use !isSuccess or !!error instead


error required null | AuthErrorPayload

Provides details about the error


isLoading required boolean

@returns

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


needsEmailVerification required boolean

@returns

true if an email is required to complete the action, and that a verification email has been sent to complete the action.


changeEmail required ChangeEmailHandler

Requests the email change. Returns a promise with the current context