public class

LineCredential

extends Object
implements Parcelable
java.lang.Object
   ↳ com.linecorp.linesdk.LineCredential

Class Overview

Represents credentials that are used to grant access to the Social API.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<LineCredential> CREATOR
Public Constructors
LineCredential(LineAccessToken accessToken, List<Scope> scopes)
Public Methods
LineAccessToken getAccessToken()
Gets the access token.
List<Scope> getScopes()
Gets a list of permissions that the access token holds.
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

public static final Creator<LineCredential> CREATOR

Public Constructors

public LineCredential (LineAccessToken accessToken, List<Scope> scopes)

Public Methods

public LineAccessToken getAccessToken ()

Gets the access token.

Returns

public List<Scope> getScopes ()

Gets a list of permissions that the access token holds.

Returns
  • A string list of permission codes that are associated with the access token.
See Also