ApiClient.basic(this.basePath, String userName, String password) { _authentications[r'basicSchema'] = HttpBasicAuth(username: userName, password: password); }