Announcements

Help Wizard

Step 1

NEXT STEP

[Android] AuthorizationClient logout

[Android] AuthorizationClient logout

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 

Reply
0 Replies

Suggested posts