src/test/java/io/swagger/test/client/ApiClient.java
/**
     * Update query and header parameters based on authentication settings.
     *
     * @param authNames The authentications to apply
     */
Update query and header parameters based on authentication settings.
@param authNames The authentications to apply
Update query and header parameters based on authentication settings . @param authNames The authentications to apply
private void updateParamsForAuth(String[] authNames, Map<String, String> queryParams, Map<String, String> headerParams) {
        for (String authName : authNames) {
            Authentication auth = authentications.get(authName);
            if (auth == null) {
                throw new RuntimeException("Authentication undefined: " + authName);
            }
            auth.applyToParams(queryParams, headerParams);
        }
    }
private void updateParamsForAuth ( String [ ] authNames , Map < String , String > queryParams , Map < String , String > headerParams ) { for ( String authName : authNames ) { Authentication auth = authentications . get ( authName ) ; if ( auth == null ) { throw new RuntimeException ( "Authentication undefined: " + authName ) ; } auth . applyToParams ( queryParams , headerParams ) ; } }
Update query and header parameters based on authentication settings.
Update query and header parameters based on authentication settings .