본문으로 건너뛰기

Access Token

An access token is a short-lived token that allows applications to use PlanetKit. An application generates and returns an access token from the app server.

Access token authentication flow The authentication flow using an access token is as follows:

  1. An app client requests an access token to the app server using the communication channel defined by the application. Note that this channel is not provided by LINE Planet.
  2. The app server generates an access token and sends it to the app client.
  3. The app client sets the access token in PlanetKit by initializing a call parameter or conference parameter with the access token.
  4. The app client makes a call using the call parameter or joins a conference using the conference parameter.
  5. The following diagram shows the authentication flow using an access token:

access

Access token format

The access token is a JSON WebToken (JWT). A JWT is an encoded JSON object consisting of a header, payload, and signature.

# JWT example
eyJ*****************.eyJ*********.*******************************************