public abstract class AbstractAuthenticator extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
currentOauthToken |
Constructor and Description |
---|
AbstractAuthenticator() |
Modifier and Type | Method and Description |
---|---|
void |
configureRequest(Object sender,
WebRequestEventArgs e) |
abstract Action1<org.apache.http.HttpRequest> |
doOAuthRequest(String oauthSource,
String apiKey) |
protected void |
setAuthorization(org.apache.http.client.HttpClient httpClient) |
protected static void |
setHeader(org.apache.http.client.methods.HttpUriRequest request,
String key,
String value) |
protected String currentOauthToken
public void configureRequest(Object sender, WebRequestEventArgs e)
protected void setAuthorization(org.apache.http.client.HttpClient httpClient)
protected static void setHeader(org.apache.http.client.methods.HttpUriRequest request, String key, String value)
Copyright © 2016. All Rights Reserved.