public interface WLAccessTokenListener
WLAuthorizationManager.obtainAccessToken(String, WLAccessTokenListener)
method implements to receive notifications about the result of the method call.Modifier and Type | Method and Description |
---|---|
void |
onFailure(WLFailResponse response)
Called when
WLAuthorizationManager.obtainAccessToken fails. |
void |
onSuccess(AccessToken accessToken)
Called when
WLAuthorizationManager.obtainAccessToken completes successfully. |
void onSuccess(AccessToken accessToken)
WLAuthorizationManager.obtainAccessToken
completes successfully.accessToken
- Access token for the requested scope.void onFailure(WLFailResponse response)
WLAuthorizationManager.obtainAccessToken
fails.response
- Response containing error information.