Skip to content

Commit e2eacba

Browse files
committed
Remove requirements of channel id & secret to issue token & get token key id
1 parent 83aca1e commit e2eacba

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/line/bot/client.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,6 @@ def revoke_channel_token(access_token)
116116
#
117117
# @return [Net::HTTPResponse]
118118
def issue_channel_access_token_jwt(jwt)
119-
channel_id_required
120-
channel_secret_required
121-
122119
endpoint_path = '/oauth2/v2.1/token'
123120
payload = URI.encode_www_form(
124121
grant_type: 'client_credentials',
@@ -154,9 +151,6 @@ def revoke_channel_access_token_jwt(access_token)
154151
#
155152
# @return [Net::HTTPResponse]
156153
def get_channel_access_token_key_ids_jwt(jwt)
157-
channel_id_required
158-
channel_secret_required
159-
160154
payload = URI.encode_www_form(
161155
client_assertion_type: 'urn:ietf:params:oauth:client-assertion-type:jwt-bearer',
162156
client_assertion: jwt

0 commit comments

Comments
 (0)