Log Out A User

To log out a user and end their session, call the logout function. When the session has been ended successfully, the wasSuccess block will be called.




authRequest:string Unique request identifier


AuthenticationManager.getInstance().logout(mAuthRequest, new AuthenticationManager.LogoutCallback() {
    public void wasSuccess () {
        // success
    public void wasFailure(String errorMessage, String errorCode) {
        // failure

User Contributed

LaunchKey links to user contributed code as a resource to its community. LaunchKey does not in any way guarantee or warrant the quality and security of these code bases. User contributed code is supported by the creators. If you do find a link from the site to user contributed code that is malicious or inappropriate in any way, please report that link to LaunchKey immediately and we will investigate the claim. Submit any issue to LaunchKey support at https://launchkey.com./support. ×