public interface AuthService
Modifier and Type | Method and Description |
---|---|
void |
exit() |
java.lang.String |
getDeviceID()
Get the device ID that sent to the server during login.
|
int |
getKickedClientType()
If the current login is invalidated, the interface allows you to get the type of client that invalidates the current login.
|
int |
getKickedCustomClientType()
Get the type of clients that invalidate the current login.
|
InvocationFuture<java.lang.Void> |
kickOtherClient(OnlineClient client)
Invalidate logins on other devices.
|
void |
killCore() |
void |
killUI() |
AbortableFuture<LoginInfo> |
login(LoginInfo info)
Login interface.
|
void |
logout()
Logout interface
|
boolean |
openLocalCache(java.lang.String account)
Open the local cache when the client is offline.
|
AbortableFuture<LoginInfo> login(LoginInfo info)
info
- The user infor used for loginvoid logout()
InvocationFuture<java.lang.Void> kickOtherClient(OnlineClient client)
client
- The client where the login is invalidated.int getKickedClientType()
int getKickedCustomClientType()
boolean openLocalCache(java.lang.String account)
java.lang.String getDeviceID()
void killUI()
void killCore()
void exit()