Package com.twitter.clientlib.auth
Interface Authentication
-
- All Known Implementing Classes:
ApiKeyAuth,HttpBasicAuth,HttpBearerAuth,OAuth
public interface Authentication
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapplyToParams(List<Pair> queryParams, Map<String,String> headerParams, Map<String,String> cookieParams, String payload, String method, URI uri)Apply authentication settings to header and query params.
-
-
-
Method Detail
-
applyToParams
void applyToParams(List<Pair> queryParams, Map<String,String> headerParams, Map<String,String> cookieParams, String payload, String method, URI uri) throws ApiException
Apply authentication settings to header and query params.- Parameters:
queryParams- List of query parametersheaderParams- Map of header parameterscookieParams- Map of cookie parameterspayload- HTTP request bodymethod- HTTP methoduri- URI- Throws:
ApiException- if failed to update the parameters
-
-