LINE SDK for Unity  1.3.1
The LINE SDK for Unity helps you develop a Unity game with engaging and personalized user experience.
 All Classes Namespaces Functions Variables Properties
Line.LineSDK.AccessToken Class Reference

Represents an access token which is used to access the LINE Platform. Most API calls to the LINE Platform require an access token as evidence of successful authorization. A valid access token is issued after the user grants your app the permissions that your app requests. An access token is bound to permissions (scopes) that define the API endpoints that you can access. Choose the permissions for your channel in the LINE Developers site and set them in the login method used in your app. More...

Properties

string Value [get]
 The value of the access token. More...
 
long ExpiresIn [get]
 Number of seconds until the access token expires. More...
 
string IdTokenRaw [get]
 The raw string value of the ID token bound to the access token. The value exists only if the access token is obtained with the "openID" permission. More...
 
string RefreshToken [get]
 The refresh token bound to the access token. More...
 
string Scope [get]
 Permissions granted by the user. More...
 
string TokenType [get]
 The expected authorization type when this token is used in a request header. Fixed to "Bearer" for now. More...
 

Detailed Description

Represents an access token which is used to access the LINE Platform. Most API calls to the LINE Platform require an access token as evidence of successful authorization. A valid access token is issued after the user grants your app the permissions that your app requests. An access token is bound to permissions (scopes) that define the API endpoints that you can access. Choose the permissions for your channel in the LINE Developers site and set them in the login method used in your app.

An access token expires after a certain period. ExpiresIn specifies the time until which this access token expires.

By default, the LINE SDK stores access tokens in a secure place on the device running your app and obtains authorization when you access the LINE Platform through the framework request methods.

Don't try to create an access token yourself. You can get the stored access token with fewer properties with LineSDK.Instance.CurrentAccessToken.

Property Documentation

long Line.LineSDK.AccessToken.ExpiresIn
get

Number of seconds until the access token expires.

string Line.LineSDK.AccessToken.IdTokenRaw
get

The raw string value of the ID token bound to the access token. The value exists only if the access token is obtained with the "openID" permission.

string Line.LineSDK.AccessToken.RefreshToken
get

The refresh token bound to the access token.

string Line.LineSDK.AccessToken.Scope
get

Permissions granted by the user.

string Line.LineSDK.AccessToken.TokenType
get

The expected authorization type when this token is used in a request header. Fixed to "Bearer" for now.

string Line.LineSDK.AccessToken.Value
get

The value of the access token.


The documentation for this class was generated from the following file: