UNPKG

1.24 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 accessToken: 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 expiresIn: 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 tokenType: string;
34};