Login screen implementation class
Creates an instance of Login screen manager
Static
Performs login with username/password
The login options containing username and password
import Login from "@auth0/auth0-acul-js/login";const loginManager = new Login();loginManager.login({ username: "testUser", password: "testPassword"}); Copy
import Login from "@auth0/auth0-acul-js/login";const loginManager = new Login();loginManager.login({ username: "testUser", password: "testPassword"});
Performs login with social provider
The social login options containing connection name
import Login from "@auth0/auth0-acul-js/login";const loginManager = new Login();loginManager.socialLogin({ connection: "google-oauth2"}); Copy
import Login from "@auth0/auth0-acul-js/login";const loginManager = new Login();loginManager.socialLogin({ connection: "google-oauth2"});
Login screen implementation class