Class HttpBasicAuth
java.lang.Object
io.kubernetes.client.openapi.auth.HttpBasicAuth
- All Implemented Interfaces:
Authentication
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
applyToParams
(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams) Apply authentication settings to header and query params.void
setPassword
(String password) void
setUsername
(String username)
-
Constructor Details
-
HttpBasicAuth
public HttpBasicAuth()
-
-
Method Details
-
getUsername
-
setUsername
-
getPassword
-
setPassword
-
applyToParams
public void applyToParams(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams) Description copied from interface:Authentication
Apply authentication settings to header and query params.- Specified by:
applyToParams
in interfaceAuthentication
- Parameters:
queryParams
- List of query parametersheaderParams
- Map of header parameterscookieParams
- Map of cookie parameters
-