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 voidapplyToParams(List<Pair> queryParams, Map<String,String> headerParams)Apply authentication settings to header and query params.StringgetAccessToken()voidsetAccessToken(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:AuthenticationApply authentication settings to header and query params.- Specified by:
applyToParamsin interfaceAuthentication- Parameters:
queryParams- List of query parametersheaderParams- Map of header parameters
-
-