You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`login(args?: LoginArguments): Promise<LoginResult>`| Starts the login flow of Line's SDK (Opens the apps if it's installed and defaults to the browser otherwise). It accepts the same argumements as the LineSDK, in an object `{ key: value }`, defaults the same way as LineSDK too. |
178
-
|`getCurrentAccessToken(): Promise<AccessToken>`| Returns the current access token forthe currently loggedin user. |
179
-
|`getProfile(): Promise<UserProfile>`| Returns the profile of the currently logged in user. |
180
-
|`logout(): Promise<void>`| Logs out the currently logged in user. |
181
-
|`refreshToken(): Promise<AccessToken>`| Refreshes the access token and returns it. |
182
-
|`verifyAccessToken(): Promise<AccessTokenVerifyResult>`| Verifies the access token and returns it. |
183
-
|`getBotFriendshipStatus(): Promise<BotFriendshipStatus>`| Gets bot friendship status if [configured](https://developers.line.biz/en/docs/ios-sdk/swift/link-a-bot/). |
206
+
|`login(params: LoginParams): Promise<LoginResult>`| Starts the login flow of Line's SDK (Opens the apps if it's installed and defaults to the browser otherwise). It accepts the same argumements as the LineSDK, in an object `{ key: value }`, defaults the same way as LineSDK too. |
207
+
|`getCurrentAccessToken(): Promise<AccessToken>`| Returns the access token of the current user. |
208
+
|`getProfile(): Promise<UserProfile>`| Returns the current user profile information. |
209
+
|`logout(): Promise<void>`| Revokes the access token of the current user. |
210
+
|`refreshAccessToken(): Promise<AccessToken>`| Refreshes the access token of the current user. |
211
+
|`setup(params: SetupParams): Promise<void>`| Initializes the Line SDK. |
212
+
|`verifyAccessToken(): Promise<VerifyResult>`| Checks whether the access token of the current user is valid. |
213
+
|`getFriendshipStatus(): Promise<FriendshipStatus>`| Gets the friendship status between the LINE Official Account (which is linked to the current channel) and the user if [configured](https://developers.line.biz/en/docs/line-login-sdks/ios-sdk/swift/link-a-bot/). |
0 commit comments