SignInSubmitPasswordResult class

Extends

Constructors

SignInSubmitPasswordResult(SignInSubmitPasswordResultState, CustomAuthAccountData)

Inherited Properties

data
error
state

Methods

createWithError(unknown)
isAuthMethodRegistrationRequired()

Checks if the result requires authentication method registration.

isCompleted()

Checks if the result is in a completed state.

isFailed()

Checks if the result is in a failed state.

Constructor Details

SignInSubmitPasswordResult(SignInSubmitPasswordResultState, CustomAuthAccountData)

new SignInSubmitPasswordResult(state: SignInSubmitPasswordResultState, data?: CustomAuthAccountData)

Parameters

Inherited Property Details

data

data?: CustomAuthAccountData

Property Value

Inherited From AuthFlowResultBase.data

error

error?: SignInSubmitPasswordError

Property Value

Inherited From AuthFlowResultBase.error

state

state: SignInSubmitPasswordResultState

Property Value

Inherited From AuthFlowResultBase.state

Method Details

createWithError(unknown)

static function createWithError(error: unknown): SignInSubmitPasswordResult

Parameters

error

unknown

Returns

isAuthMethodRegistrationRequired()

Checks if the result requires authentication method registration.

function isAuthMethodRegistrationRequired(): 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