Edit

Share via


SignUpSubmitPasswordResult class

Extends

Constructors

SignUpSubmitPasswordResult(SignUpSubmitPasswordResultState)

Creates a new instance of SignUpSubmitPasswordResult.

Inherited Properties

data
error
state

Methods

createWithError(unknown)

Creates a new instance of SignUpSubmitPasswordResult with an error.

isAttributesRequired()

Checks if the result is in an attributes required state.

isCompleted()

Checks if the result is in a completed state.

isFailed()

Checks if the result is in a failed state.

Constructor Details

SignUpSubmitPasswordResult(SignUpSubmitPasswordResultState)

Creates a new instance of SignUpSubmitPasswordResult.

new SignUpSubmitPasswordResult(state: SignUpSubmitPasswordResultState)

Parameters

state
SignUpSubmitPasswordResultState

The state of the result.

Inherited Property Details

data

data?: void

Property Value

void

Inherited From AuthFlowResultBase.data

error

error?: SignUpSubmitPasswordError

Property Value

Inherited From AuthFlowResultBase.error

state

state: SignUpSubmitPasswordResultState

Property Value

Inherited From AuthFlowResultBase.state

Method Details

createWithError(unknown)

Creates a new instance of SignUpSubmitPasswordResult with an error.

static function createWithError(error: unknown): SignUpSubmitPasswordResult

Parameters

error

unknown

The error that occurred.

Returns

A new instance of SignUpSubmitPasswordResult with the error set.

isAttributesRequired()

Checks if the result is in an attributes required state.

function isAttributesRequired(): this

Returns

this

isCompleted()

Checks if the result is in a completed state.

function isCompleted(): this

Returns

this

isFailed()

Checks if the result is in a failed state.

function isFailed(): this

Returns

this