rename hasBearerMethods to hasHttpBearerMethods (#15259)

This commit is contained in:
yateeshc 2023-04-19 00:20:04 -07:00 committed by GitHub
parent 9b2917f3a9
commit e3fdac0711
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -229,11 +229,11 @@ conf = {{{packageName}}}.Configuration(
""" """
{{/hasOAuthMethods}} {{/hasOAuthMethods}}
{{^hasOAuthMethods}} {{^hasOAuthMethods}}
{{#hasBearerMethods}} {{#hasHttpBearerMethods}}
self.access_token = None self.access_token = None
"""access token for OAuth/Bearer """access token for OAuth/Bearer
""" """
{{/hasBearerMethods}} {{/hasHttpBearerMethods}}
{{/hasOAuthMethods}} {{/hasOAuthMethods}}
self.logger = {} self.logger = {}
"""Logging Settings """Logging Settings

View File

@ -199,11 +199,11 @@ conf = {{{packageName}}}.Configuration(
""" """
{{/hasOAuthMethods}} {{/hasOAuthMethods}}
{{^hasOAuthMethods}} {{^hasOAuthMethods}}
{{#hasBearerMethods}} {{#hasHttpBearerMethods}}
self.access_token = None self.access_token = None
"""access token for OAuth/Bearer """access token for OAuth/Bearer
""" """
{{/hasBearerMethods}} {{/hasHttpBearerMethods}}
{{/hasOAuthMethods}} {{/hasOAuthMethods}}
self.logger = {} self.logger = {}
"""Logging Settings """Logging Settings

View File

@ -182,7 +182,7 @@ conf = {{{packageName}}}.Configuration(
server_variables=None, server_variables=None,
server_operation_index=None, server_operation_index=None,
server_operation_variables=None, server_operation_variables=None,
{{#or hasOAuthMethods hasBearerMethods}} {{#or hasOAuthMethods hasHttpBearerMethods}}
access_token=None, access_token=None,
{{/or}} {{/or}}
): ):
@ -235,7 +235,7 @@ conf = {{{packageName}}}.Configuration(
"""The HTTP signing configuration """The HTTP signing configuration
""" """
{{/if}} {{/if}}
{{#or hasOAuthMethods hasBearerMethods}} {{#or hasOAuthMethods hasHttpBearerMethods}}
self.access_token = None self.access_token = None
"""access token for OAuth/Bearer """access token for OAuth/Bearer
""" """