com.worklight.wlclient.api
Interface WLLoginResponseListener
-
public interface WLLoginResponseListener
This interface defines methods that the listener for theWLAuthorizationManager.login(String, JSONObject, WLLoginResponseListener)
method implements to receive notifications about the result of the method call.
-
-
Method Summary
Methods Modifier and Type Method and Description void
onFailure(WLFailResponse response)
Called whenWLAuthorizationManager.login
fails.void
onSuccess()
Called whenWLAuthorizationManager.login
completes successfully.
-
-
-
Method Detail
-
onSuccess
void onSuccess()
Called whenWLAuthorizationManager.login
completes successfully.
-
onFailure
void onFailure(WLFailResponse response)
Called whenWLAuthorizationManager.login
fails.- Parameters:
response
- Response containing error information.
-
-