public interface AuthenticationContext
Modifier and Type | Method and Description |
---|---|
void |
submitAuthenticationChallengeAnswer(JSONObject answer)
Submits authentication challenge response.
|
void |
submitAuthenticationFailure(JSONObject info)
Informs about authentication failure.
|
void |
submitAuthenticationSuccess()
Informs about authentication success.
|
void submitAuthenticationChallengeAnswer(JSONObject answer)
answer
- JSON with challenge response.void submitAuthenticationSuccess()
void submitAuthenticationFailure(JSONObject info)
BaseRequest
will be failed.info
- Extended information about the failure. It will be passed to ResponseListener.onFailure(Response, Throwable, JSONObject)
of
the resource request as 'extendedInfo' object.