public class HttpBasicAuth extends Object implements Authentication
Constructor and Description |
---|
HttpBasicAuth() |
Modifier and Type | Method and Description |
---|---|
void |
applyToParams(List<Pair> queryParams,
Map<String,String> headerParams,
Map<String,String> cookieParams,
String payload,
String method,
URI uri)
Apply authentication settings to header and query params.
|
String |
getPassword() |
String |
getUsername() |
void |
setPassword(String password) |
void |
setUsername(String username) |
public String getUsername()
public void setUsername(String username)
public String getPassword()
public void setPassword(String password)
public void applyToParams(List<Pair> queryParams, Map<String,String> headerParams, Map<String,String> cookieParams, String payload, String method, URI uri) throws ApiException
Authentication
applyToParams
in interface Authentication
queryParams
- List of query parametersheaderParams
- Map of header parameterscookieParams
- Map of cookie parameterspayload
- HTTP request bodymethod
- HTTP methoduri
- URIApiException
- if failed to update the parametersCopyright © 2023. All rights reserved.