接口 Authentication

所有已知实现类:
ApiKeyAuth, HttpBasicAuth, HttpBearerAuth

public interface Authentication
  • 方法详细资料

    • 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.
      参数:
      queryParams - List of query parameters
      headerParams - Map of header parameters
      cookieParams - Map of cookie parameters
      payload - HTTP request body
      method - HTTP method
      uri - URI
      抛出:
      ApiException - if failed to update the parameters