reset-password-mfa-otp-challenge 画面の機能を実装するクラス。
import ResetPasswordMfaOtpChallenge from '@auth0/auth0-acul-js/reset-password-mfa-otp-challenge' ;
const resetPasswordMfaOtpChallenge = new ResetPasswordMfaOtpChallenge ();
await resetPasswordMfaOtpChallenge . continue ({
code: '123456' ,
});
ResetPasswordMfaOtpChallenge
ResetPasswordMfaOtpChallenge 画面マネージャーのインスタンスを生成します
指定されたコードを使用して One-Time Password(OTP)チャレンジを続行します。 import ResetPasswordMfaOtpChallenge from '@auth0/auth0-acul-js/reset-password-mfa-otp-challenge' ;
const resetPasswordMfaOtpChallenge = new ResetPasswordMfaOtpChallenge ();
await resetPasswordMfaOtpChallenge . continue ({
code: '123456' ,
});
コンテキストからトランザクションエラーの配列を取得します。存在しない場合は空の配列を返します。 トランザクションコンテキストから取得される Error オブジェクトの配列です。
ユーザーが別の MFA(多要素認証)メソッドを試せるようにします。 import ResetPasswordMfaOtpChallenge from '@auth0/auth0-acul-js/reset-password-mfa-otp-challenge' ;
const resetPasswordMfaOtpChallenge = new ResetPasswordMfaOtpChallenge ();
await resetPasswordMfaOtpChallenge . tryAnotherMethod ();