LINE SDK for Android
LINE SDK v5 for Android
- Overview
- Trying the starter app
- Integrating LINE Login
- Enabling the bot link feature with the SDK
- Managing users
- Managing access tokens
- Handling errors
- LINE SDK v5 for Android reference
Deprecated: LINE SDK v4.0 for Android
- Overview
- Trying LINE Login
- Integrating LINE Login
- Logging out users
- Getting user profiles
- Managing access tokens
- LINE SDK v4.0 for Android reference
Resources
- LINE Developers
- Document top
- LINE SDK for Android
- Deprecated SDKs
- Logging out users
Logging out users
Table of contents
You can use the LINE SDK for Android to log out users from your app. To provide a better user experience, we recommend providing a way for users to log out of your app.
Before you begin
Make sure you have completed the following:
Implementing logout
To invalidate the access token and log out the user from your app, call the logout()
method. The user is logged out of your app when you invalidate the access token. After logging out, the user must go through the login process again to log in.
lineApiClient.logout();