public interface LoginHelper
Modifier and Type | Method and Description |
---|---|
void |
checkAutoLoginSupport(AsyncCallback<java.lang.Void> callback)
Checks if the current cloud application supports automatic login.
|
void |
startAutoLogin(java.lang.String acc,
java.lang.String pwd,
AsyncCallback<java.lang.Void> callback)
Starts the automatic login.
|
void checkAutoLoginSupport(AsyncCallback<java.lang.Void> callback)
AsyncCallback.onSuccess(Object)
callback.
otherwise it will invoke the AsyncCallback.onFailure(int, String)
callback,
and the `code
` and `msg
` parameters can be ignored by the application.callback
- The asynchronous callback interface to handle the result of checking auto login support.void startAutoLogin(java.lang.String acc, java.lang.String pwd, AsyncCallback<java.lang.Void> callback)
code
` and `msg
parameters of the callback.acc
- The account entered for automatic login.pwd
- The password entered for automatic login.callback
- The asynchronous callback interface to handle the result of autologin status.