メインコンテンツへスキップ
Example
import MfaPushWelcome from '@auth0/auth0-acul-js/mfa-push-welcome';

const mfaPushWelcome = new MfaPushWelcome();
await mfaPushWelcome.enroll();

コンストラクター

MfaPushWelcome
Constructor
Universal Login コンテキストからのデータを使用して MfaPushWelcome 画面を初期化します。

プロパティ

branding
client
organization
prompt
screen
tenant
transaction
untrustedData
user
screenIdentifier
string

メソッド

enroll
Promise<void>
登録画面に移動します。
Example
import MfaPushWelcome from '@auth0/auth0-acul-js/mfa-push-welcome';

const mfaPushWelcome = new MfaPushWelcome();
await mfaPushWelcome.enroll();
getErrors
コンテキストからトランザクションエラーの配列を取得し、存在しない場合は空配列を返します。トランザクションコンテキストから取得したエラーオブジェクトの配列です。
pickAuthenticator
Promise<void>
認証器選択画面に移動します。
Example
import MfaPushWelcome from '@auth0/auth0-acul-js/mfa-push-welcome';

const mfaPushWelcome = new MfaPushWelcome();
await mfaPushWelcome.pickAuthenticator();