public class Authentication extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static Authentication |
getInstance()
Returns the current instance of the authentication singleton.
|
User |
getUsername(java.lang.String token) |
LoggedIn |
login(java.lang.String username,
java.lang.String password)
Attempts to login on the platform.
|
void |
logout(java.lang.String token) |
public static Authentication getInstance()
public User getUsername(java.lang.String token)
public void logout(java.lang.String token)