AuthMethodRegistrationSubmitChallengeResult class

認証方法の登録にチャレンジを送信した結果。

Extends

継承されたプロパティ

data
error
state

メソッド

createWithError(unknown)

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

isCompleted()

結果が登録が完了したことを示すかどうかを確認します。

isFailed()

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

コンストラクターの詳細

AuthMethodRegistrationSubmitChallengeResult(AuthMethodRegistrationSubmitChallengeResultState, CustomAuthAccountData)

new AuthMethodRegistrationSubmitChallengeResult(state: AuthMethodRegistrationSubmitChallengeResultState, data?: CustomAuthAccountData)

パラメーター

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

data

data?: CustomAuthAccountData

プロパティ値

Inherited From AuthFlowResultBase.data

error

error?: AuthMethodRegistrationSubmitChallengeError

プロパティ値

Inherited From AuthFlowResultBase.error

state

state: AuthMethodRegistrationSubmitChallengeResultState

プロパティ値

Inherited From AuthFlowResultBase.state

メソッドの詳細

createWithError(unknown)

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

static function createWithError(error: unknown): AuthMethodRegistrationSubmitChallengeResult

パラメーター

error

unknown

発生したエラー。

返品

エラーが発生した AuthMethodRegistrationSubmitChallengeResult。

isCompleted()

結果が登録が完了したことを示すかどうかを確認します。

function isCompleted(): this

返品

this

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

isFailed()

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

function isFailed(): this

返品

this

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