[Android] AuthorizationClient logout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm starting to use the Android SDK and I did the Authentification in Kotlin like this :
val request = getAuthenticationRequest(AuthorizationResponse.Type.TOKEN, showDialog)
AuthorizationClient.openLoginActivity(this, Constants.AUTH_TOKEN_REQUEST_CODE, request)
It's working, but now I would like to add a logout button on my app, but I didn't found how to clear the authentification. In the doc I saw a "clearCookie" function in AuthorizationClient, but I didn't found it.
Is there an easy way to logout a user ?
Thanks in advance,
Binomial
Labels:
- Labels:
-
Android
-
AuthorizationClient
-
logout
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page