Login screen implementation class
import Login from "@auth0/auth0-acul-js/login";
const loginManager = new Login();
loginManager.login({
username: "testUser",
password: "testPassword"
});
Constructors
Creates an instance of Login screen manager
Properties
Methods
Performs login with social providerimport Login from "@auth0/auth0-acul-js/login";
const loginManager = new Login();
loginManager.federatedLogin({
connection: "google-oauth2"
});
Options for performing social login operationsPropertiesThe social connection name to use
Retrieves the array of transaction errors from the context, or an empty array if none exist.An array of error objects from the transaction context.
Utility FeatureGets the active identifier types for the login screenAn array of active identifier types or null if none are activeimport Login from "@auth0/auth0-acul-js/login";
const loginManager = new Login();
loginManager.getLoginIdentifiers();
Performs login with username/passwordimport Login from "@auth0/auth0-acul-js/login";
const loginManager = new Login();
loginManager.login({
username: "testUser",
password: "testPassword"
});
Options for performing login operationsPropertiesOptional captcha value if required
The password for authentication
The username/email to login with
Picks country code for phone number inputimport Login from "@auth0/auth0-acul-js/login";
const loginManager = new Login();
loginManager.pickCountryCode();