Skip to content

Commit

Permalink
Provide required username and pass
Browse files Browse the repository at this point in the history
  • Loading branch information
agilob committed Oct 19, 2021
1 parent 54c3b48 commit 3b375b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class ApiClient {
{{#authMethods}}
{{#isBasic}}
{{#isBasicBasic}}
_authentications[r'{{{name}}}'] = HttpBasicAuth();
_authentications[r'{{{name}}}'] = HttpBasicAuth('user', 'password');
{{/isBasicBasic}}
{{#isBasicBearer}}
_authentications[r'{{{name}}}'] = HttpBearerAuth();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class ApiClient {
_authentications[r'api_key'] = ApiKeyAuth('header', 'api_key');
_authentications[r'api_key_query'] = ApiKeyAuth('query', 'api_key_query');
_authentications[r'bearer_test'] = HttpBearerAuth();
_authentications[r'http_basic_test'] = HttpBasicAuth();
_authentications[r'http_basic_test'] = HttpBasicAuth('user', 'password');
_authentications[r'petstore_auth'] = OAuth();
}

Expand Down

0 comments on commit 3b375b5

Please sign in to comment.