Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions linebot/v3/oauth/api/async_channel_access_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def gets_all_valid_channel_access_token_key_ids_with_http_info(self, client_asse
['application/json']) # noqa: E501

# authentication setting
_auth_settings = ['Bearer'] # noqa: E501
_auth_settings = [] # noqa: E501

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

# authentication setting
_auth_settings = ['Bearer'] # noqa: E501
_auth_settings = [] # noqa: E501

_response_types_map = {
'200': "IssueShortLivedChannelAccessTokenResponse",
Expand Down Expand Up @@ -529,7 +529,7 @@ def issue_channel_token_by_jwt_with_http_info(self, grant_type : Annotated[Optio
_header_params['Content-Type'] = _content_types_list

# authentication setting
_auth_settings = ['Bearer'] # noqa: E501
_auth_settings = [] # noqa: E501

_response_types_map = {
'200': "IssueChannelAccessTokenResponse",
Expand Down Expand Up @@ -717,7 +717,7 @@ def issue_stateless_channel_token_with_http_info(self, grant_type : Annotated[St
_header_params['Content-Type'] = _content_types_list

# authentication setting
_auth_settings = ['Bearer'] # noqa: E501
_auth_settings = [] # noqa: E501

_response_types_map = {
'200': "IssueStatelessChannelAccessTokenResponse",
Expand Down Expand Up @@ -869,7 +869,7 @@ def revoke_channel_token_with_http_info(self, access_token : Annotated[Optional[
_header_params['Content-Type'] = _content_types_list

# authentication setting
_auth_settings = ['Bearer'] # noqa: E501
_auth_settings = [] # noqa: E501

_response_types_map = {}

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

# authentication setting
_auth_settings = ['Bearer'] # noqa: E501
_auth_settings = [] # noqa: E501

_response_types_map = {}

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

# authentication setting
_auth_settings = ['Bearer'] # noqa: E501
_auth_settings = [] # noqa: E501

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

# authentication setting
_auth_settings = ['Bearer'] # noqa: E501
_auth_settings = [] # noqa: E501

_response_types_map = {
'200': "VerifyChannelAccessTokenResponse",
Expand Down
16 changes: 8 additions & 8 deletions linebot/v3/oauth/api/channel_access_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def gets_all_valid_channel_access_token_key_ids_with_http_info(self, client_asse
['application/json']) # noqa: E501

# authentication setting
_auth_settings = ['Bearer'] # noqa: E501
_auth_settings = [] # noqa: E501

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

# authentication setting
_auth_settings = ['Bearer'] # noqa: E501
_auth_settings = [] # noqa: E501

_response_types_map = {
'200': "IssueShortLivedChannelAccessTokenResponse",
Expand Down Expand Up @@ -497,7 +497,7 @@ def issue_channel_token_by_jwt_with_http_info(self, grant_type : Annotated[Optio
_header_params['Content-Type'] = _content_types_list

# authentication setting
_auth_settings = ['Bearer'] # noqa: E501
_auth_settings = [] # noqa: E501

_response_types_map = {
'200': "IssueChannelAccessTokenResponse",
Expand Down Expand Up @@ -675,7 +675,7 @@ def issue_stateless_channel_token_with_http_info(self, grant_type : Annotated[St
_header_params['Content-Type'] = _content_types_list

# authentication setting
_auth_settings = ['Bearer'] # noqa: E501
_auth_settings = [] # noqa: E501

_response_types_map = {
'200': "IssueStatelessChannelAccessTokenResponse",
Expand Down Expand Up @@ -817,7 +817,7 @@ def revoke_channel_token_with_http_info(self, access_token : Annotated[Optional[
_header_params['Content-Type'] = _content_types_list

# authentication setting
_auth_settings = ['Bearer'] # noqa: E501
_auth_settings = [] # noqa: E501

_response_types_map = {}

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

# authentication setting
_auth_settings = ['Bearer'] # noqa: E501
_auth_settings = [] # noqa: E501

_response_types_map = {}

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

# authentication setting
_auth_settings = ['Bearer'] # noqa: E501
_auth_settings = [] # noqa: E501

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

# authentication setting
_auth_settings = ['Bearer'] # noqa: E501
_auth_settings = [] # noqa: E501

_response_types_map = {
'200': "VerifyChannelAccessTokenResponse",
Expand Down
8 changes: 0 additions & 8 deletions linebot/v3/oauth/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ class Configuration(object):
:param ssl_ca_cert: str - the path to a file of concatenated CA certificates
in PEM format.

:Example:
"""

_default = None
Expand Down Expand Up @@ -355,13 +354,6 @@ def auth_settings(self):
:return: The Auth Settings information dict.
"""
auth = {}
if self.access_token is not None:
auth['Bearer'] = {
'type': 'bearer',
'in': 'header',
'key': 'Authorization',
'value': 'Bearer ' + self.access_token
}
return auth

def to_debug_report(self):
Expand Down
Loading