Edit

Share via


ResetPasswordSubmitCodeResult class

Extends

Constructors

ResetPasswordSubmitCodeResult(ResetPasswordSubmitCodeResultState)

Creates a new instance of ResetPasswordSubmitCodeResult.

Inherited Properties

data
error
state

Methods

createWithError(unknown)

Creates a new instance of ResetPasswordSubmitCodeResult with an error.

isFailed()

Checks if the result is in a failed state.

isPasswordRequired()

Checks if the result is in a password required state.

Constructor Details

ResetPasswordSubmitCodeResult(ResetPasswordSubmitCodeResultState)

Creates a new instance of ResetPasswordSubmitCodeResult.

new ResetPasswordSubmitCodeResult(state: ResetPasswordSubmitCodeResultState)

Parameters

state
ResetPasswordSubmitCodeResultState

The state of the result.

Inherited Property Details

data

data?: void

Property Value

void

Inherited From AuthFlowResultBase.data

error

error?: ResetPasswordSubmitCodeError

Property Value

Inherited From AuthFlowResultBase.error

state

state: ResetPasswordSubmitCodeResultState

Property Value

Inherited From AuthFlowResultBase.state

Method Details

createWithError(unknown)

Creates a new instance of ResetPasswordSubmitCodeResult with an error.

static function createWithError(error: unknown): ResetPasswordSubmitCodeResult

Parameters

error

unknown

The error that occurred.

Returns

A new instance of ResetPasswordSubmitCodeResult with the error set.

isFailed()

Checks if the result is in a failed state.

function isFailed(): this

Returns

this

isPasswordRequired()

Checks if the result is in a password required state.

function isPasswordRequired(): this

Returns

this