mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-07-03 06:00:52 +00:00
rename auth token to access token
This commit is contained in:
parent
89ec500744
commit
eebb6c4dd0
@ -71,10 +71,9 @@ class Configuration(object):
|
||||
self.username = ""
|
||||
# Password for HTTP basic authentication
|
||||
self.password = ""
|
||||
|
||||
{{#authMethods}}{{#isOAuth}}
|
||||
# token for OAuth
|
||||
self.auth_token = ""
|
||||
# access token for OAuth
|
||||
self.access_token = ""
|
||||
{{/isOAuth}}{{/authMethods}}
|
||||
|
||||
# Logging Settings
|
||||
@ -242,7 +241,7 @@ class Configuration(object):
|
||||
'type': 'oauth2',
|
||||
'in': 'header',
|
||||
'key': 'Authorization',
|
||||
'value': 'Bearer ' + self.auth_token
|
||||
'value': 'Bearer ' + self.access_token
|
||||
},
|
||||
{{/isOauth}}{{/authMethods}}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user