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 stateless channel access token
14 */
15export type IssueStatelessChannelAccessTokenResponse = {
16 /**
17 * A stateless channel access token. The token is an opaque string which means its format is an implementation detail and the consumer of this token should never try to use the data parsed from the token.
18 *
19 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#issue-stateless-channel-access-token">accessToken Documentation</a>
20 */
21 accessToken: string;
22 /**
23 * Duration in seconds after which the issued access token expires
24 *
25 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#issue-stateless-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-stateless-channel-access-token">tokenType Documentation</a>
32 */
33 tokenType: string;
34};