Login

public class Login

Utilities for logging in and inspecting current login state

Types

LoginMessage
Link copied to clipboard
public enum LoginMessage
Represents a mesage that can be displayed when trying to log in, such as already logged in

Functions

getLoginMessage
Link copied to clipboard
static Optional<Login.LoginMessagegetLoginMessage()
Attempts to get the login message at the login screen
isLoggedIn
Link copied to clipboard
static boolean isLoggedIn()
Checks if we are currently logged in
login
Link copied to clipboard
static boolean login()
Attempts to log in using the account selected by the user when starting the script
static boolean login(String username, String password)
Attempts to log in using ths specified credentials
static boolean login(String username, String password, String authenticatorSecret)
Attempts to log in using ths specified credentials
logout
Link copied to clipboard
static boolean logout()
Attempts to log out