接口 Authentication
- 所有已知实现类:
ApiKeyAuth,HttpBasicAuth,HttpBearerAuth
public interface Authentication
-
方法概要
-
方法详细资料
-
applyToParams
void applyToParams(List<Pair> queryParams, Map<String, String> headerParams, Map<String, throws ApiExceptionString> cookieParams, String payload, String method, URI uri) Apply authentication settings to header and query params.- 参数:
queryParams- List of query parametersheaderParams- Map of header parameterscookieParams- Map of cookie parameterspayload- HTTP request bodymethod- HTTP methoduri- URI- 抛出:
ApiException- if failed to update the parameters
-