Class OAuth
- java.lang.Object
-
- com.algorand.algosdk.kmd.client.auth.OAuth
-
- All Implemented Interfaces:
Authentication
public class OAuth extends Object implements Authentication
-
-
Constructor Summary
Constructors Constructor Description OAuth()
-
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
getAccessToken()
void
setAccessToken(String accessToken)
-
-
-
Method Detail
-
getAccessToken
public String getAccessToken()
-
setAccessToken
public void setAccessToken(String accessToken)
-
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
-
-