UNPKG

1.31 kBTypeScriptView Raw
1/**
2 * Channel Access Token API
3 * This document describes Channel Access Token API.
4 *
5 * The version of the OpenAPI document: 0.0.1
6 *
7 *
8 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9 * https://openapi-generator.tech
10 * Do not edit the class manually.
11 */
12/**
13 * Issued short-lived channel access token
14 */
15export type IssueShortLivedChannelAccessTokenResponse = {
16 /**
17 * A short-lived channel access token. Valid for 30 days. Note: Channel access tokens cannot be refreshed.
18 *
19 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#issue-shortlived-channel-access-token">accessToken Documentation</a>
20 */
21 access_token: string;
22 /**
23 * Time until channel access token expires in seconds from time the token is issued.
24 *
25 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#issue-shortlived-channel-access-token">expiresIn Documentation</a>
26 */
27 expires_in: number;
28 /**
29 * Token type. The value is always `Bearer`.
30 *
31 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#issue-shortlived-channel-access-token">tokenType Documentation</a>
32 */
33 token_type: string;
34};
35//# sourceMappingURL=issueShortLivedChannelAccessTokenResponse.d.ts.map
\No newline at end of file