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-generator/body/api/ChannelAccessTokenClient.rb
+24-10Lines changed: 24 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,12 @@
1
-
# Issues a new stateless channel access token by JWT assertion.
1
+
# Issues a new stateless channel access token by JWT assertion, 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.
2
2
# This is a convenience wrapper that only requires the parameters needed for JWT assertion authentication.
3
+
# This requests to <code>POST https://api.line.me/oauth2/v3/token</code>
4
+
# When you want to get HTTP status code or response headers, use {{ '{#' }}issue_stateless_channel_token_by_jwt_assertion_with_http_info} instead of this.
3
5
#
4
6
# @param client_assertion [String] A JSON Web Token the client needs to create and sign with the private key of the Assertion Signing Key.
# Issues a new stateless channel access token by client secret.
20
+
# Issues a new stateless channel access token by client secret, 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.
17
21
# This is a convenience wrapper that only requires the parameters needed for client secret authentication.
22
+
# This requests to <code>POST https://api.line.me/oauth2/v3/token</code>
23
+
# When you want to get HTTP status code or response headers, use {{ '{#' }}issue_stateless_channel_token_by_client_secret_with_http_info} instead of this.
# Issues a new stateless channel access token by JWT assertion.
41
+
# Issues a new stateless channel access token by JWT assertion, 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.
34
42
# This is a convenience wrapper that only requires the parameters needed for JWT assertion authentication.
35
-
# When you want to get HTTP status code or response headers, use this instead of {{ '{#' }}issue_stateless_channel_token_by_jwt_assertion}.
43
+
# This requests to <code>POST https://api.line.me/oauth2/v3/token</code>
44
+
# This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
36
45
#
37
46
# @param client_assertion [String] A JSON Web Token the client needs to create and sign with the private key of the Assertion Signing Key.
# @return [Array(Line::Bot::V2::ChannelAccessToken::IssueStatelessChannelAccessTokenResponse, Integer, Hash{String => String})] when HTTP status code is 200
49
+
# @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
# Issues a new stateless channel access token by client secret.
60
+
# Issues a new stateless channel access token by client secret, 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.
50
61
# This is a convenience wrapper that only requires the parameters needed for client secret authentication.
51
-
# When you want to get HTTP status code or response headers, use this instead of {{ '{#' }}issue_stateless_channel_token_by_client_secret}.
62
+
# This requests to <code>POST https://api.line.me/oauth2/v3/token</code>
63
+
# 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
69
+
# @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
Copy file name to clipboardExpand all lines: generator/src/main/resources/line-bot-sdk-ruby-rbs-generator/body/api/ChannelAccessTokenClient.rbs
+34-6Lines changed: 34 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,29 @@
1
-
# Issues a new stateless channel access token by JWT assertion.
1
+
# Issues a new stateless channel access token by JWT assertion, 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.
2
2
# This is a convenience wrapper that only requires the parameters needed for JWT assertion authentication.
3
+
# This requests to <code>POST https://api.line.me/oauth2/v3/token</code>
4
+
# When you want to get HTTP status code or response headers, use {{ '{#' }}issue_stateless_channel_token_by_jwt_assertion_with_http_info} instead of this.
5
+
#
6
+
# @param client_assertion [String] A JSON Web Token the client needs to create and sign with the private key of the Assertion Signing Key.
IssueStatelessChannelAccessTokenResponse # when HTTP status code is 200
7
14
| String? # otherwise
8
15
)
9
16
10
-
# Issues a new stateless channel access token by client secret.
17
+
# Issues a new stateless channel access token by client secret, 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.
11
18
# This is a convenience wrapper that only requires the parameters needed for client secret authentication.
19
+
# This requests to <code>POST https://api.line.me/oauth2/v3/token</code>
20
+
# When you want to get HTTP status code or response headers, use {{ '{#' }}issue_stateless_channel_token_by_client_secret_with_http_info} instead of this.
# Issues a new stateless channel access token by JWT assertion.
35
+
# Issues a new stateless channel access token by JWT assertion, 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.
21
36
# This is a convenience wrapper that only requires the parameters needed for JWT assertion authentication.
22
-
# When you want to get HTTP status code or response headers, use this instead of #issue_stateless_channel_token_by_jwt_assertion.
37
+
# This requests to <code>POST https://api.line.me/oauth2/v3/token</code>
38
+
# This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
39
+
#
40
+
# @param client_assertion [String] A JSON Web Token the client needs to create and sign with the private key of the Assertion Signing Key.
# @return [Array(Line::Bot::V2::ChannelAccessToken::IssueStatelessChannelAccessTokenResponse, Integer, Hash{String => String})] when HTTP status code is 200
43
+
# @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
# Issues a new stateless channel access token by client secret.
51
+
# Issues a new stateless channel access token by client secret, 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.
31
52
# This is a convenience wrapper that only requires the parameters needed for client secret authentication.
32
-
# When you want to get HTTP status code or response headers, use this instead of #issue_stateless_channel_token_by_client_secret.
53
+
# This requests to <code>POST https://api.line.me/oauth2/v3/token</code>
54
+
# 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
60
+
# @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
# Issues a new stateless channel access token by JWT assertion.
537
+
# Issues a new stateless channel access token by JWT assertion, 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.
538
538
# This is a convenience wrapper that only requires the parameters needed for JWT assertion authentication.
539
+
# This requests to <code>POST https://api.line.me/oauth2/v3/token</code>
540
+
# When you want to get HTTP status code or response headers, use {#issue_stateless_channel_token_by_jwt_assertion_with_http_info} instead of this.
539
541
#
540
542
# @param client_assertion [String] A JSON Web Token the client needs to create and sign with the private key of the Assertion Signing Key.
# Issues a new stateless channel access token by client secret.
556
+
# Issues a new stateless channel access token by client secret, 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.
553
557
# This is a convenience wrapper that only requires the parameters needed for client secret authentication.
558
+
# This requests to <code>POST https://api.line.me/oauth2/v3/token</code>
559
+
# When you want to get HTTP status code or response headers, use {#issue_stateless_channel_token_by_client_secret_with_http_info} instead of this.
# Issues a new stateless channel access token by JWT assertion.
577
+
# Issues a new stateless channel access token by JWT assertion, 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.
570
578
# This is a convenience wrapper that only requires the parameters needed for JWT assertion authentication.
571
-
# When you want to get HTTP status code or response headers, use this instead of {#issue_stateless_channel_token_by_jwt_assertion}.
579
+
# This requests to <code>POST https://api.line.me/oauth2/v3/token</code>
580
+
# This returns an array containing response, HTTP status code, and header in order. Please specify all header keys in lowercase.
572
581
#
573
582
# @param client_assertion [String] A JSON Web Token the client needs to create and sign with the private key of the Assertion Signing Key.
# @return [Array(Line::Bot::V2::ChannelAccessToken::IssueStatelessChannelAccessTokenResponse, Integer, Hash{String => String})] when HTTP status code is 200
585
+
# @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
# Issues a new stateless channel access token by client secret.
596
+
# Issues a new stateless channel access token by client secret, 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.
586
597
# This is a convenience wrapper that only requires the parameters needed for client secret authentication.
587
-
# When you want to get HTTP status code or response headers, use this instead of {#issue_stateless_channel_token_by_client_secret}.
598
+
# This requests to <code>POST https://api.line.me/oauth2/v3/token</code>
599
+
# 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
605
+
# @return [Array((String|nil), Integer, Hash{String => String})] when other HTTP status code is returned. String is HTTP response body itself.
0 commit comments