File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -163,6 +163,7 @@ conf = {{{packageName}}}.Configuration(
163
163
164
164
def __init__(self, host=None,
165
165
api_key=None, api_key_prefix=None,
166
+ access_token=None,
166
167
username=None, password=None,
167
168
discard_unknown_keys=False,
168
169
disabled_client_side_validations="",
@@ -190,6 +191,7 @@ conf = {{{packageName}}}.Configuration(
190
191
"""Temp file folder for downloading files
191
192
"""
192
193
# Authentication Settings
194
+ self.access_token = access_token
193
195
self.api_key = { }
194
196
if api_key:
195
197
self.api_key = api_key
@@ -218,18 +220,6 @@ conf = {{{packageName}}}.Configuration(
218
220
"""The HTTP signing configuration
219
221
"""
220
222
{ {/hasHttpSignatureMethods} }
221
- { {#hasOAuthMethods} }
222
- self.access_token = None
223
- """access token for OAuth/Bearer
224
- """
225
- { {/hasOAuthMethods} }
226
- { {^hasOAuthMethods} }
227
- { {#hasBearerMethods} }
228
- self.access_token = None
229
- """access token for OAuth/Bearer
230
- """
231
- { {/hasBearerMethods} }
232
- { {/hasOAuthMethods} }
233
223
self.logger = { }
234
224
"""Logging Settings
235
225
"""
You can’t perform that action at this time.
0 commit comments