AuthCallback
public interface AuthCallback
Callback called after authentication attempt.
Used in authentication call auth on ZumoKit instance.
Public Method Summary
Type | Method |
---|---|
void | onError(Exception e) This method gets invoked when authentication is not succesful. |
void | onSuccess(User user) This method gets invoked when authentication is succesful. |
Public Methods
onError
public void onError(Exception e)
This method gets invoked when authentication is not succesful. See Handling Errors for details.
onSuccess
public void onSuccess(User user)
This method gets invoked when authentication is succesful.