AuthMethodRegistrationChallengeMethodResult class

登録の認証方法に挑戦した結果。 循環依存関係を回避するために、基本状態の種類を使用します。

Extends

継承されたプロパティ

data
error
state

メソッド

createWithError(unknown)

エラーを含む AuthMethodRegistrationChallengeMethodResult を作成します。

isCompleted()

結果が登録が完了したことを示すかどうかを確認します (高速パス シナリオ)。

isFailed()

結果が失敗した状態であるかどうかを確認します。

isVerificationRequired()

検証が必要であることが結果に示されているかどうかを確認します。

コンストラクターの詳細

AuthMethodRegistrationChallengeMethodResult(AuthMethodRegistrationChallengeMethodResultState, CustomAuthAccountData)

new AuthMethodRegistrationChallengeMethodResult(state: AuthMethodRegistrationChallengeMethodResultState, data?: CustomAuthAccountData)

パラメーター

継承されたプロパティの詳細

data

data?: CustomAuthAccountData

プロパティ値

Inherited From AuthFlowResultBase.data

error

error?: AuthMethodRegistrationChallengeMethodError

プロパティ値

Inherited From AuthFlowResultBase.error

state

state: AuthMethodRegistrationChallengeMethodResultState

プロパティ値

Inherited From AuthFlowResultBase.state

メソッドの詳細

createWithError(unknown)

エラーを含む AuthMethodRegistrationChallengeMethodResult を作成します。

static function createWithError(error: unknown): AuthMethodRegistrationChallengeMethodResult

パラメーター

error

unknown

発生したエラー。

返品

エラーが発生した AuthMethodRegistrationChallengeMethodResult。

isCompleted()

結果が登録が完了したことを示すかどうかを確認します (高速パス シナリオ)。

function isCompleted(): this

返品

this

登録が完了した場合は true、それ以外の場合は false。

isFailed()

結果が失敗した状態であるかどうかを確認します。

function isFailed(): this

返品

this

結果が失敗した場合は true、それ以外の場合は false。

isVerificationRequired()

検証が必要であることが結果に示されているかどうかを確認します。

function isVerificationRequired(): this

返品

this

検証が必要な場合は true、それ以外の場合は false。