public interface LiAuthAsyncRequestCallback<T>
Modifier and Type | Method and Description |
---|---|
void |
onError(java.lang.Exception exception)
This call back is used when Async auth request is not successful.
|
void |
onSuccess(T response)
This call back is used when Async auth request is successful.
|
void onSuccess(T response) throws LiRestResponseException
response
- Generic response.LiRestResponseException
- LiRestResponseException
void onError(java.lang.Exception exception)
exception
- Exception