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

     1  package {{invokerPackage}}.auth;
     2  
     3  import org.springframework.http.HttpHeaders;
     4  import org.springframework.util.MultiValueMap;
     5  
     6  public interface Authentication {
     7      /**
     8       * Apply authentication settings to header and / or query parameters.
     9       * @param queryParams The query parameters for the request
    10       * @param headerParams The header parameters for the request
    11       * @param cookieParams The cookie parameters for the request
    12       */
    13      public void applyToParams(MultiValueMap<String, String> queryParams, HttpHeaders headerParams, MultiValueMap<String, String> cookieParams);
    14  }