Logging out

From DreamFactory
Jump to: navigation, search
(Created page with "54 yr old Joiner Clemente Broe from Paris, enjoys to spend time people, astrology psychic and sleeping. Plans to retire and take the family to a lot of the great heritage lis...")
 
(Created page with "### Tutorial There are two APIs available for logging out of an authenticated session - * DELETE api/v2/system/admin/session * DELETE api/v2/user/session ### API Endpoints...")
Line 1: Line 1:
54 yr old Joiner Clemente Broe from Paris, enjoys to spend time people, astrology psychic and sleeping. Plans to retire and take the family to a lot of the great  heritage listed destinations on the planet like Pyrénées - Mont Perdu.<br><br>Feel free to visit my site ... [https://modules.apache.org/profile.lua?uid=95466 modules.apache.org]
+
### Tutorial
 +
 
 +
There are two APIs available for logging out of an authenticated session -  
 +
* DELETE api/v2/system/admin/session
 +
* DELETE api/v2/user/session
 +
 
 +
### API Endpoints
 +
 
 +
<pre>DELETE https://your-url/api/v2/system/admin/session?session_token=<jwt_session_token_to_blacklist></pre>
 +
 
 +
-- OR --
 +
 
 +
<pre>DELETE https://your-url/api/v2/user/session?session_token=<jwt_session_token_to_blacklist></pre>
 +
 
 +
 
 +
Note: Session token can also be supplied using X-DreamFactory-Session-Token request header.
 +
 
 +
### Example - Logging out
 +
 
 +
<pre>DELETE https://your-url/api/v2/system/admin/session?session_token=abc.123.efg</pre>
 +
 
 +
-- OR --
 +
 
 +
<pre>DELETE https://your-url/api/v2/user/session?session_token=abc.123.efg</pre>

Revision as of 18:07, 12 October 2015

      1. Tutorial

There are two APIs available for logging out of an authenticated session -

  • DELETE api/v2/system/admin/session
  • DELETE api/v2/user/session
      1. API Endpoints
DELETE https://your-url/api/v2/system/admin/session?session_token=<jwt_session_token_to_blacklist>

-- OR --

DELETE https://your-url/api/v2/user/session?session_token=<jwt_session_token_to_blacklist>


Note: Session token can also be supplied using X-DreamFactory-Session-Token request header.

      1. Example - Logging out
DELETE https://your-url/api/v2/system/admin/session?session_token=abc.123.efg

-- OR --

DELETE https://your-url/api/v2/user/session?session_token=abc.123.efg