mfa-login-options 画面の機能を実装するクラスです。
この画面では、ユーザーがどの MFA(多要素認証)要素を使用してログインするかを選択できます。
const mfaLoginOptions = new MfaLoginOptions();
await mfaLoginOptions.enroll({
action: 'push-notification'
});
MfaLoginOptions 画面マネージャーのインスタンスを生成します
mfa-login-options 画面の screen オブジェクト
選択した MFA(多要素認証)の認証要素でログイン処理を継続します。const mfaLoginOptions = new MfaLoginOptions();
await mfaLoginOptions.enroll({
action: 'push-notification'
});
選択された認証要素を含むオプションです。プロパティ
コンテキストからトランザクションエラーの配列を取得します。存在しない場合は空配列を返します。トランザクションコンテキストからのエラーオブジェクトの配列です。
import MfaLoginOptions from '@auth0/auth0-acul-js/mfa-login-options';
const mfaLoginOptions = new MfaLoginOptions();
mfaLoginOptions.returnToPrevious();