Package com.stackrox.invoker.auth
Interface Authentication
-
- All Known Implementing Classes:
ApiKeyAuth
,HttpBasicAuth
,HttpBearerAuth
public interface Authentication
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
applyToParams(List<com.stackrox.invoker.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<com.stackrox.invoker.Pair> queryParams, Map<String,String> headerParams, Map<String,String> cookieParams, String payload, String method, URI uri) throws com.stackrox.invoker.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:
com.stackrox.invoker.ApiException
- if failed to update the parameters
-
-