メインコンテンツへスキップ
ACUL Reset password
Example
import ResetPassword from '@auth0/auth0-acul-js/reset-password';
const resetPassword = new ResetPassword();
resetPassword.resetPassword({
   'password-reset': 'Test@123!',
   're-enter-password': 'Test@123!',
});

コンストラクター

ResetPassword
Constructor

プロパティ

branding
client
organization
prompt
screen
tenant
transaction
untrustedData
user
screenIdentifier
string

メソッド

getErrors
コンテキストからトランザクションエラーの配列を取得します。エラーが存在しない場合は空の配列を返します。トランザクションコンテキストから取得されるエラーオブジェクトの配列です。
resetPassword
Promise<void>
Example
import ResetPassword from '@auth0/auth0-acul-js/reset-password';

const resetPassword = new ResetPassword();
resetPassword.resetPassword({
   'password-reset': 'Test@123!',
   're-enter-password': 'Test@123!',
});
validatePassword
Utility Featureパスワードが有効かどうかとその理由を示す、PasswordValidationResult タイプのオブジェクトです。