Class HttpBasicAuth
- java.lang.Object
-
- com.algorand.algosdk.kmd.client.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)
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)
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 parameters
-
-