make updateParamsForAuth protected for java webclient (#10351)

Co-authored-by: Bas Huisman <bash@lostlemon.nl>
This commit is contained in:
Bas Huisman 2021-09-09 05:27:52 +02:00 committed by GitHub
parent 66f86d890d
commit 54e98c86bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -724,7 +724,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
* @param headerParams The header parameters
* @param cookieParams the cookie parameters
*/
private void updateParamsForAuth(String[] authNames, MultiValueMap<String, String> queryParams, HttpHeaders headerParams, MultiValueMap<String, String> cookieParams) {
protected void updateParamsForAuth(String[] authNames, MultiValueMap<String, String> queryParams, HttpHeaders headerParams, MultiValueMap<String, String> cookieParams) {
for (String authName : authNames) {
Authentication auth = authentications.get(authName);
if (auth == null) {