public class BasicAuthCredentialsProvider extends java.lang.Object implements CredentialsProvider
Constructor and Description |
---|
BasicAuthCredentialsProvider(java.lang.String email,
java.lang.String password) |
Modifier and Type | Method and Description |
---|---|
void |
configureRequest(java.lang.String baseUrl,
org.apache.http.client.methods.HttpUriRequest request,
org.apache.http.client.protocol.HttpClientContext httpClientContext) |
public BasicAuthCredentialsProvider(java.lang.String email, java.lang.String password)
public void configureRequest(java.lang.String baseUrl, org.apache.http.client.methods.HttpUriRequest request, org.apache.http.client.protocol.HttpClientContext httpClientContext) throws org.apache.http.auth.AuthenticationException, java.net.URISyntaxException
configureRequest
in interface CredentialsProvider
org.apache.http.auth.AuthenticationException
java.net.URISyntaxException