github.com/phrase/openapi@v0.0.0-20240514140800-49e8a106740e/openapi-generator/templates/java/auth/Authentication.mustache (about)

     1  {{>licenseInfo}}
     2  
     3  package {{invokerPackage}}.auth;
     4  
     5  import {{invokerPackage}}.Pair;
     6  
     7  import java.util.Map;
     8  import java.util.List;
     9  
    10  public interface Authentication {
    11      /**
    12       * Apply authentication settings to header and query params.
    13       *
    14       * @param queryParams List of query parameters
    15       * @param headerParams Map of header parameters
    16       * @param cookieParams Map of cookie parameters
    17       */
    18      void applyToParams(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams);
    19  }