public class

LineIdToken

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

Class Overview

Represents an ID token that contains the user's information.
For more information about each field, please refer to:
OpenID Connect 1.0: ID Token
OpenID Connect 1.0: Standard Claims

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<LineIdToken> CREATOR
Public Methods
List<String> getAmr()
Get the Authentication Methods References.
String getAudience()
Gets the channel ID.
Date getAuthTime()
Gets the time when the user authentication occurred.
String getEmail()
Gets the user's email address.
Date getExpiresAt()
Gets the expiration time of the ID Token.
Date getIssuedAt()
Gets the time when the ID token was generated.
String getIssuer()
Gets the ID of the issuer of the ID token.
String getName()
Gets the user's display name.
String getPicture()
Gets the user's profile image URL.
String getRawString()
Gets the raw string of the ID Token.
String getSubject()
Gets the user ID of the user that the ID token is generated for.
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

public static final Creator<LineIdToken> CREATOR

Public Methods

public List<String> getAmr ()

Get the Authentication Methods References.

Returns
  • the Authentication Methods References.

    List of strings that are identifiers for authentication methods used in the authentication.

public String getAudience ()

Gets the channel ID.

Returns
  • The channel ID.

public Date getAuthTime ()

Gets the time when the user authentication occurred.

Returns
  • The authentication time of the user in UNIX time.

public String getEmail ()

Gets the user's email address.

public Date getExpiresAt ()

Gets the expiration time of the ID Token.

Returns
  • The expiration time of the ID Token in UNIX time.

public Date getIssuedAt ()

Gets the time when the ID token was generated.

Returns
  • The generation time of the ID token in UNIX time.

public String getIssuer ()

Gets the ID of the issuer of the ID token.

Returns
  • The URL of the LINE Platform, https://access.line.me.

public String getName ()

Gets the user's display name.

Returns
  • The user's display name.

public String getPicture ()

Gets the user's profile image URL.

Returns
  • The user's profile image URL.

public String getRawString ()

Gets the raw string of the ID Token.

Returns
  • The raw string of the ID Token.

public String getSubject ()

Gets the user ID of the user that the ID token is generated for.

Returns
  • The user ID.