public interface AuthServiceAsync
Modifier and Type | Method and Description |
---|---|
void |
login(java.lang.String userid,
java.lang.String password,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Integer> async)
Authenticates the current servlet session based on the supplied authentication information.
|
void |
logout(com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> async)
Logs out the currently logged in user.
|
void login(java.lang.String userid, java.lang.String password, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Integer> async)
userid
- User id.password
- Password.async
- An AsyncCallback
called when the call finishes.void logout(com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> async)
async
- An AsyncCallback
called when the call finishes.