Message:

Subscribe rss
Blog categories
All | Backendless features
Feature 89: User logout API – logout current user from a Backendless app
April 7, 2015 by markpiller
Spread the love

The logout API is a logical counterpart for the User Login API. The logout step is not required for most apps – user session will expire automatically. However, some apps provide the functionality, especially those with a special multiple login policy. The logout API is very simple – a single line of code terminates the current session:

Asynchronous API sample (Android and Plain Java):

Synchronous API sample (Plain Java only):

The code produces the following output:

Share this post
Tweet about this on TwitterShare on FacebookGoogle+