メインコンテンツへスキップ
reset-password-mfa-otp-challenge 画面の機能を実装するクラス。
Example
import ResetPasswordMfaOtpChallenge from '@auth0/auth0-acul-js/reset-password-mfa-otp-challenge';

const resetPasswordMfaOtpChallenge = new ResetPasswordMfaOtpChallenge();
await resetPasswordMfaOtpChallenge.continue({
  code: '123456',
});

コンストラクター

ResetPasswordMfaOtpChallenge
Constructor
ResetPasswordMfaOtpChallenge 画面マネージャーのインスタンスを生成します

プロパティ

branding
client
organization
prompt
screen
tenant
transaction
untrustedData
user
screenIdentifier
string
検証とテレメトリのための画面識別子

メソッド

continue
Promise<void>
指定されたコードを使用して One-Time Password(OTP)チャレンジを続行します。
Example
import ResetPasswordMfaOtpChallenge from '@auth0/auth0-acul-js/reset-password-mfa-otp-challenge';

const resetPasswordMfaOtpChallenge = new ResetPasswordMfaOtpChallenge();
await resetPasswordMfaOtpChallenge.continue({
  code: '123456',
});
getErrors
コンテキストからトランザクションエラーの配列を取得します。存在しない場合は空の配列を返します。トランザクションコンテキストから取得される Error オブジェクトの配列です。
tryAnotherMethod
Promise<void>
ユーザーが別の MFA(多要素認証)メソッドを試せるようにします。
Example
import ResetPasswordMfaOtpChallenge from '@auth0/auth0-acul-js/reset-password-mfa-otp-challenge';

const resetPasswordMfaOtpChallenge = new ResetPasswordMfaOtpChallenge();
await resetPasswordMfaOtpChallenge.tryAnotherMethod();