1. Documents
  2. Android SDK

Logging out users on Android

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();

Related pages

For more information on the Android SDK, see the following pages.