Edit

Share via


SignInResendCodeResult class

Extends

Constructors

SignInResendCodeResult(SignInResendCodeResultState)

Creates a new instance of SignInResendCodeResult.

Inherited Properties

data
error
state

Methods

createWithError(unknown)

Creates a new instance of SignInResendCodeResult with an error.

isCodeRequired()

Checks if the result is in a code required state.

isFailed()

Checks if the result is in a failed state.

Constructor Details

SignInResendCodeResult(SignInResendCodeResultState)

Creates a new instance of SignInResendCodeResult.

new SignInResendCodeResult(state: SignInResendCodeResultState)

Parameters

state
SignInResendCodeResultState

The state of the result.

Inherited Property Details

data

data?: void

Property Value

void

Inherited From AuthFlowResultBase.data

error

error?: SignInResendCodeError

Property Value

Inherited From AuthFlowResultBase.error

state

state: SignInResendCodeResultState

Property Value

Inherited From AuthFlowResultBase.state

Method Details

createWithError(unknown)

Creates a new instance of SignInResendCodeResult with an error.

static function createWithError(error: unknown): SignInResendCodeResult

Parameters

error

unknown

The error that occurred.

Returns

A new instance of SignInResendCodeResult with the error set.

isCodeRequired()

Checks if the result is in a code required state.

function isCodeRequired(): this

Returns

this

isFailed()

Checks if the result is in a failed state.

function isFailed(): this

Returns

this