Single Sign On: users.logout

Description

Log out a user on the SWL platform. This is part of the SWL SSO offering.

Required parameters for all SSO calls

  • timestamp : The UNIX timestamp for the current time.
  • user_id : The user ID of the specified user.
  • hash : A MD5 hash containing, in this order, the SSO secret provided at configuration time, the user ID of the specified user, a MD5 hash of the password of the specified user, and the UNIX timestamp.

Additional required parameters for this call

  • None

Optional parameters

  • None

Example response

The user's SSO token will be invalidated on successful logout. Any failure will be returned as a failed call as described in Handling the response.

<?xml version="1.0"?>
<response status="ok" time="Mon, 25 May 2009 20:28:38 -0500" p="0.056733131408691">
   <logout count="1">
       <sso_logout/>
   </logout>
</response>