public interface Authenticator
| Modifier and Type | Method and Description |
|---|---|
SessionConfiguration |
getSessionConfiguration()
Get
SessionConfiguration used for providing signining information for requests |
boolean |
isRefreshable()
Indicates whether this authenticator can be refreshed.
|
okhttp3.Request |
refresh(okhttp3.Response response)
Refresh authentication token that is used to
signRequest(Request.Builder) |
void |
signRequest(okhttp3.Request.Builder builder)
Add authentication header required to the request.
|
boolean isRefreshable()
void signRequest(okhttp3.Request.Builder builder)
builder - okhttp3.Request refresh(okhttp3.Response response)
throws java.io.IOException
signRequest(Request.Builder)response - java.io.IOExceptionSessionConfiguration getSessionConfiguration()
SessionConfiguration used for providing signining information for requests