メインコンテンツへスキップ
ACUL ログイン
ログイン画面の実装クラス
Example
import Login from "@auth0/auth0-acul-js/login";
const loginManager = new Login();
loginManager.login({
  username: "testUser",
  password: "testPassword"
});

コンストラクター

Login
Constructor
ログイン画面マネージャーのインスタンスを作成します

プロパティ

branding
client
organization
prompt
screen
tenant
transaction
untrustedData
user
screenIdentifier
string

メソッド

federatedLogin
Promise<void>
ソーシャルプロバイダーを使用してログインを実行します
Example
import Login from "@auth0/auth0-acul-js/login";
const loginManager = new Login();
loginManager.federatedLogin({
  connection: "google-oauth2"
});
getErrors
コンテキストからトランザクションエラーの配列を取得します。存在しない場合は空の配列を返します。トランザクションコンテキストから取得したエラーオブジェクトの配列です。
getLoginIdentifiers
ユーティリティ機能ログイン画面で有効な識別子タイプを取得します有効な識別子タイプの配列、または有効なものがない場合は null
Example
import Login from "@auth0/auth0-acul-js/login";
const loginManager = new Login();
loginManager.getLoginIdentifiers();
login
Promise<void>
ユーザー名/パスワードでログインを実行します
Example
import Login from "@auth0/auth0-acul-js/login";
const loginManager = new Login();
loginManager.login({
  username: "testUser",
  password: "testPassword"
});
pickCountryCode
Promise<void>
電話番号入力用の国コードを選択します
Example
import Login from "@auth0/auth0-acul-js/login";
const loginManager = new Login();
loginManager.pickCountryCode();