メインコンテンツへスキップ
ResetPasswordEmail クラスは、reset-password-email 画面の機能を実装します。この画面では、パスワードリセットメールが送信されたことをユーザーに通知し、必要に応じて再送信できるようにします。
ACUL Reset_password_email

コンストラクター

ResetPasswordEmail 画面マネージャーのインスタンスを作成します。
Example
import ResetPasswordEmail from '@auth0/auth0-acul-js/reset-password-email';
const resetPasswordEmailManager = new ResetPasswordEmail();
resetPasswordEmailManager.resendEmail();

プロパティ

ブランディングテーマや設定など、ブランディング関連の設定を提供します。
reset-password-email 画面に対して、idnamelogoUrl などのクライアント関連の設定を提供します。
idname など、ユーザーの組織に関する情報を提供します。
認証フロー内の現在のプロンプトに関するデータが含まれます。
設定やコンテキストなど、reset-password-email 画面固有の詳細が含まれます。
id や関連するメタデータなど、テナントに関するデータが含まれます。
アクティブな識別子やフローの状態など、reset-password-email 画面のトランザクション固有のデータを提供します。
パスワードリセットフロー中のユーザー入力など、SDK に渡される信頼できないデータを扱います。
usernameemailroles など、アクティブなユーザーの詳細が含まれます。

メソッド

changeLanguage
Promise<void>
このメソッドは、Universal Login ページの表示言語を変更します。
Example
import ResetPasswordEmail from '@auth0/auth0-acul-js/reset-password-email';
const resetPasswordEmailManager = new ResetPasswordEmail();
resetPasswordEmailManager.changeLanguage({
  language: 'fr',
});
メソッドパラメーター
getErrors
このメソッドは、コンテキストからトランザクションエラーの配列を取得します。エラーがない場合は空の配列を返します。
resendEmail
Promise<void>
このメソッドは、ユーザーの登録済みメールアドレスにパスワードリセットメールを再送信します。
Example
import ResetPasswordEmail from '@auth0/auth0-acul-js/reset-password-email';
const resetPasswordEmailManager = new ResetPasswordEmail();
resetPasswordEmailManager.resendEmail();