java.lang.Object | |
↳ | com.linecorp.linesdk.auth.LineLoginResult |
Represents a login result that is returned from the LINE Platform.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public static final Creator<LineLoginResult> | CREATOR |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static LineLoginResult | authenticationAgentError(LineApiError errorData) | ||||||||||
static LineLoginResult | canceledError() | ||||||||||
static LineLoginResult | error(LineApiResponseCode resultCode, LineApiError errorData) | ||||||||||
static LineLoginResult | error(LineApiResponse<?> apiResponse) | ||||||||||
LineApiError |
getErrorData()
Gets information about a login error that has occurred.
| ||||||||||
Boolean |
getFriendshipStatusChanged()
Gets the friendship status of the user and the LINE Official Account linked to your LINE Login channel.
| ||||||||||
LineCredential |
getLineCredential()
Gets the user's credentials.
| ||||||||||
LineIdToken |
getLineIdToken()
Gets the ID token that contains the user's information.
| ||||||||||
LineProfile |
getLineProfile()
Gets the user's profile information.
| ||||||||||
String |
getNonce()
Gets the `nonce` value used for performing login in LINE.
| ||||||||||
LineApiResponseCode |
getResponseCode()
Gets the response code that the login returned.
| ||||||||||
static LineLoginResult | internalError(Exception e) | ||||||||||
static LineLoginResult | internalError(LineApiError errorData) | ||||||||||
static LineLoginResult | internalError(String errorMessage) | ||||||||||
boolean |
isSuccess()
Checks whether the login was successful.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
android.os.Parcelable
|
Gets information about a login error that has occurred. This method should only be called if the login has failed.
LineApiError
object that contains information about the
error if a login error has occurred. Contains a response of
0
and a null
string if no error occurs.
Gets the friendship status of the user and the LINE Official Account linked to your LINE Login channel.
Gets the user's credentials.
LineCredential
object with the user's authentication credentials.
Gets the ID token that contains the user's information.
LineIdToken
object with the user's information.
Gets the user's profile information.
LineProfile
object with the user's LINE profile.
Gets the `nonce` value used for performing login in LINE.
Gets the response code that the login returned.
LineApiResponseCode
object with the response code that
indicates whether the login was successful or not.
Checks whether the login was successful.