Class HttpBasicAuth
- java.lang.Object
-
- io.streamthoughts.azkarra.client.openapi.auth.HttpBasicAuth
-
- All Implemented Interfaces:
Authentication
public class HttpBasicAuth extends Object implements Authentication
-
-
Constructor Summary
Constructors Constructor Description HttpBasicAuth()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyToParams(List<Pair> queryParams, Map<String,String> headerParams, Map<String,String> cookieParams)
Apply authentication settings to header and query params.String
getPassword()
String
getUsername()
void
setPassword(String password)
void
setUsername(String username)
-
-
-
Method Detail
-
getUsername
public String getUsername()
-
setUsername
public void setUsername(String username)
-
getPassword
public String getPassword()
-
setPassword
public void setPassword(String password)
-
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
-
-