Class Login
java.lang.Object
org.rspeer.game.Login
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Login
public Login()
-
-
Method Details
-
execute
Executes the login process with the specified credentials and optional TOTP secret.The method supports two modes of login:
- Standard username and password login.
- Jagex account login (indicated by a character id starting with
*and a session id in place of password).
- Parameters:
username- the username for the account, or@JX_CHARACTER_IDfor a Jagex account loginpassword- the password for the account orJX_SESSION_IDfor a Jagex account logintotpSecret- the TOTP secret for two-factor authentication, or an empty string if not applicable
-
execute
-