public class BasicAuthenticator extends AbstractAuthenticator
currentOauthToken
Constructor and Description |
---|
BasicAuthenticator(org.apache.http.impl.client.CloseableHttpClient httpClient,
boolean enableBasicAuthenticationOverUnsecuredHttp) |
Modifier and Type | Method and Description |
---|---|
Action1<org.apache.http.HttpRequest> |
doOAuthRequest(String oauthSource,
String apiKey) |
configureRequest, setAuthorization, setHeader
public BasicAuthenticator(org.apache.http.impl.client.CloseableHttpClient httpClient, boolean enableBasicAuthenticationOverUnsecuredHttp)
public Action1<org.apache.http.HttpRequest> doOAuthRequest(String oauthSource, String apiKey)
doOAuthRequest
in class AbstractAuthenticator
Copyright © 2016. All Rights Reserved.