You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: generator/src/main/resources/line-bot-sdk-ruby-rbs-generator/api.pebble
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,12 @@ module Line
49
49
) -> void
50
50
{%- for op in operations.operation %}
51
51
52
+
{% if op.nickname == "issue_stateless_channel_token" -%}
53
+
# @deprecated
54
+
# This is deprecated.
55
+
# Please use {{ '{' }}#issue_stateless_channel_token_by_jwt_assertion_with_http_info} or {{ '{' }}#issue_stateless_channel_token_by_client_secret_with_http_info} instead.
56
+
#
57
+
{% endif -%}
52
58
# {{ op.notes }}
53
59
# This requests to <code>{{ op.httpMethod }} {{ endpoint(operations.classname) }}{{ op.path }}</code>
54
60
# This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
@@ -73,6 +79,9 @@ module Line
73
79
{%- endif %}
74
80
{%- endfor %}
75
81
# @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
82
+
{% if op.nickname == "issue_stateless_channel_token" -%}
83
+
%a{deprecated: Use #issue_stateless_channel_token_by_jwt_assertion_with_http_info or #issue_stateless_channel_token_by_client_secret_with_http_info instead}
Copy file name to clipboardExpand all lines: sig/line/bot/v2/channel_access_token/api/channel_access_token_client.rbs
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -147,6 +147,10 @@ module Line
147
147
| String? # otherwise
148
148
)
149
149
150
+
# @deprecated
151
+
# This is deprecated.
152
+
# Please use {#issue_stateless_channel_token_by_jwt_assertion_with_http_info} or {#issue_stateless_channel_token_by_client_secret_with_http_info} instead.
153
+
#
150
154
# Issues a new stateless channel access token, which doesn't have max active token limit unlike the other token types. The newly issued token is only valid for 15 minutes but can not be revoked until it naturally expires.
151
155
# This requests to <code>POST https://api.line.me/oauth2/v3/token</code>
152
156
# This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
# @return [Array(Line::Bot::V2::ChannelAccessToken::IssueStatelessChannelAccessTokenResponse, Integer, Hash{String => String})] when HTTP status code is 200
161
165
# @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
166
+
%a{deprecated: Use #issue_stateless_channel_token_by_jwt_assertion_with_http_info or #issue_stateless_channel_token_by_client_secret_with_http_info instead}
# Please use {#issue_stateless_channel_token_by_jwt_assertion} or {#issue_stateless_channel_token_by_client_secret} instead.
181
+
#
173
182
# Issues a new stateless channel access token, which doesn't have max active token limit unlike the other token types. The newly issued token is only valid for 15 minutes but can not be revoked until it naturally expires.
174
183
# This requests to <code>POST https://api.line.me/oauth2/v3/token</code>
175
184
# When you want to get HTTP status code or response headers, use {#issue_stateless_channel_token_with_http_info} instead of this.
0 commit comments