Class HttpBasicAuth
-
- All Implemented Interfaces:
-
com.redhat.threescale.rest.cms.auth.Authentication
@Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class HttpBasicAuth implements Authentication
-
-
Constructor Summary
Constructors Constructor Description HttpBasicAuth()
-
Method Summary
Modifier and Type Method Description String
getUsername()
void
setUsername(String username)
String
getPassword()
void
setPassword(String password)
void
applyToParams(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams)
Apply authentication settings to header and query params. -
-
Method Detail
-
getUsername
String getUsername()
-
setUsername
void setUsername(String username)
-
getPassword
String getPassword()
-
setPassword
void setPassword(String password)
-
applyToParams
void applyToParams(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams)
Apply authentication settings to header and query params.
- Parameters:
queryParams
- List of query parametersheaderParams
- Map of header parameterscookieParams
- Map of cookie parameters
-
-
-
-