Skip to content

Commit af54919

Browse files
github-actions[bot]github-actions
andauthored
Codes are generated by openapi generator (#556)
Co-authored-by: github-actions <github-actions@github.com>
1 parent fd8eb30 commit af54919

File tree

4 files changed

+24
-112
lines changed

4 files changed

+24
-112
lines changed

linebot/v3/oauth/api/async_channel_access_token.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def gets_all_valid_channel_access_token_key_ids_with_http_info(self, client_asse
184184
['application/json']) # noqa: E501
185185

186186
# authentication setting
187-
_auth_settings = ['Bearer'] # noqa: E501
187+
_auth_settings = [] # noqa: E501
188188

189189
_response_types_map = {
190190
'200': "ChannelAccessTokenKeyIdsResponse",
@@ -356,7 +356,7 @@ def issue_channel_token_with_http_info(self, grant_type : Annotated[Optional[Str
356356
_header_params['Content-Type'] = _content_types_list
357357

358358
# authentication setting
359-
_auth_settings = ['Bearer'] # noqa: E501
359+
_auth_settings = [] # noqa: E501
360360

361361
_response_types_map = {
362362
'200': "IssueShortLivedChannelAccessTokenResponse",
@@ -529,7 +529,7 @@ def issue_channel_token_by_jwt_with_http_info(self, grant_type : Annotated[Optio
529529
_header_params['Content-Type'] = _content_types_list
530530

531531
# authentication setting
532-
_auth_settings = ['Bearer'] # noqa: E501
532+
_auth_settings = [] # noqa: E501
533533

534534
_response_types_map = {
535535
'200': "IssueChannelAccessTokenResponse",
@@ -717,7 +717,7 @@ def issue_stateless_channel_token_with_http_info(self, grant_type : Annotated[St
717717
_header_params['Content-Type'] = _content_types_list
718718

719719
# authentication setting
720-
_auth_settings = ['Bearer'] # noqa: E501
720+
_auth_settings = [] # noqa: E501
721721

722722
_response_types_map = {
723723
'200': "IssueStatelessChannelAccessTokenResponse",
@@ -869,7 +869,7 @@ def revoke_channel_token_with_http_info(self, access_token : Annotated[Optional[
869869
_header_params['Content-Type'] = _content_types_list
870870

871871
# authentication setting
872-
_auth_settings = ['Bearer'] # noqa: E501
872+
_auth_settings = [] # noqa: E501
873873

874874
_response_types_map = {}
875875

@@ -1035,7 +1035,7 @@ def revoke_channel_token_by_jwt_with_http_info(self, client_id : Annotated[Optio
10351035
_header_params['Content-Type'] = _content_types_list
10361036

10371037
# authentication setting
1038-
_auth_settings = ['Bearer'] # noqa: E501
1038+
_auth_settings = [] # noqa: E501
10391039

10401040
_response_types_map = {}
10411041

@@ -1189,7 +1189,7 @@ def verify_channel_token_with_http_info(self, access_token : Annotated[Optional[
11891189
_header_params['Content-Type'] = _content_types_list
11901190

11911191
# authentication setting
1192-
_auth_settings = ['Bearer'] # noqa: E501
1192+
_auth_settings = [] # noqa: E501
11931193

11941194
_response_types_map = {
11951195
'200': "VerifyChannelAccessTokenResponse",
@@ -1338,7 +1338,7 @@ def verify_channel_token_by_jwt_with_http_info(self, access_token : Annotated[St
13381338
['application/json']) # noqa: E501
13391339

13401340
# authentication setting
1341-
_auth_settings = ['Bearer'] # noqa: E501
1341+
_auth_settings = [] # noqa: E501
13421342

13431343
_response_types_map = {
13441344
'200': "VerifyChannelAccessTokenResponse",

linebot/v3/oauth/api/channel_access_token.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def gets_all_valid_channel_access_token_key_ids_with_http_info(self, client_asse
172172
['application/json']) # noqa: E501
173173

174174
# authentication setting
175-
_auth_settings = ['Bearer'] # noqa: E501
175+
_auth_settings = [] # noqa: E501
176176

177177
_response_types_map = {
178178
'200': "ChannelAccessTokenKeyIdsResponse",
@@ -334,7 +334,7 @@ def issue_channel_token_with_http_info(self, grant_type : Annotated[Optional[Str
334334
_header_params['Content-Type'] = _content_types_list
335335

336336
# authentication setting
337-
_auth_settings = ['Bearer'] # noqa: E501
337+
_auth_settings = [] # noqa: E501
338338

339339
_response_types_map = {
340340
'200': "IssueShortLivedChannelAccessTokenResponse",
@@ -497,7 +497,7 @@ def issue_channel_token_by_jwt_with_http_info(self, grant_type : Annotated[Optio
497497
_header_params['Content-Type'] = _content_types_list
498498

499499
# authentication setting
500-
_auth_settings = ['Bearer'] # noqa: E501
500+
_auth_settings = [] # noqa: E501
501501

502502
_response_types_map = {
503503
'200': "IssueChannelAccessTokenResponse",
@@ -675,7 +675,7 @@ def issue_stateless_channel_token_with_http_info(self, grant_type : Annotated[St
675675
_header_params['Content-Type'] = _content_types_list
676676

677677
# authentication setting
678-
_auth_settings = ['Bearer'] # noqa: E501
678+
_auth_settings = [] # noqa: E501
679679

680680
_response_types_map = {
681681
'200': "IssueStatelessChannelAccessTokenResponse",
@@ -817,7 +817,7 @@ def revoke_channel_token_with_http_info(self, access_token : Annotated[Optional[
817817
_header_params['Content-Type'] = _content_types_list
818818

819819
# authentication setting
820-
_auth_settings = ['Bearer'] # noqa: E501
820+
_auth_settings = [] # noqa: E501
821821

822822
_response_types_map = {}
823823

@@ -973,7 +973,7 @@ def revoke_channel_token_by_jwt_with_http_info(self, client_id : Annotated[Optio
973973
_header_params['Content-Type'] = _content_types_list
974974

975975
# authentication setting
976-
_auth_settings = ['Bearer'] # noqa: E501
976+
_auth_settings = [] # noqa: E501
977977

978978
_response_types_map = {}
979979

@@ -1117,7 +1117,7 @@ def verify_channel_token_with_http_info(self, access_token : Annotated[Optional[
11171117
_header_params['Content-Type'] = _content_types_list
11181118

11191119
# authentication setting
1120-
_auth_settings = ['Bearer'] # noqa: E501
1120+
_auth_settings = [] # noqa: E501
11211121

11221122
_response_types_map = {
11231123
'200': "VerifyChannelAccessTokenResponse",
@@ -1256,7 +1256,7 @@ def verify_channel_token_by_jwt_with_http_info(self, access_token : Annotated[St
12561256
['application/json']) # noqa: E501
12571257

12581258
# authentication setting
1259-
_auth_settings = ['Bearer'] # noqa: E501
1259+
_auth_settings = [] # noqa: E501
12601260

12611261
_response_types_map = {
12621262
'200': "VerifyChannelAccessTokenResponse",

linebot/v3/oauth/configuration.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ class Configuration(object):
5454
:param ssl_ca_cert: str - the path to a file of concatenated CA certificates
5555
in PEM format.
5656
57-
:Example:
5857
"""
5958

6059
_default = None
@@ -355,13 +354,6 @@ def auth_settings(self):
355354
:return: The Auth Settings information dict.
356355
"""
357356
auth = {}
358-
if self.access_token is not None:
359-
auth['Bearer'] = {
360-
'type': 'bearer',
361-
'in': 'header',
362-
'key': 'Authorization',
363-
'value': 'Bearer ' + self.access_token
364-
}
365357
return auth
366358

367359
def to_debug_report(self):

0 commit comments

Comments
 (0)