LoginResult
public struct LoginResult
extension LoginResult: Encodable
Represents a successful login.
-
The access token obtained by the login process.
Declaration
Swift
public let accessToken: AccessToken -
The permissions bound to the
accessTokenobject by the authorization process.Declaration
Swift
public let permissions: Set<LoginPermission> -
Contains the user profile including the user ID, display name, and so on. The value exists only when the
.profilepermission is set in the authorization request.Declaration
Swift
public let userProfile: UserProfile? -
Indicates that the friendship status between the user and the LINE Official Account changed during the login. This value is non-
nilonly if the.botPromptNormalor.botPromptAggressiveare specified as part of theLoginManagerOptionobject when the user logs in. For more information, see “Add a LINE Official Account as a friend when logged in (bot link)” at https://developers.line.biz/en/docs/line-login/web/link-a-bot/Declaration
Swift
public let friendshipStatusChanged: Bool? -
The
noncevalue when requesting ID Token during login process. Use this value as a parameter when you verify the ID Token against the LINE server. This value isnilif.openIDpermission is not requested.Declaration
Swift
public let IDTokenNonce: String?
View on GitHub
LoginResult Structure Reference