Logging out
From DreamFactory
(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: | ||
− | + | ### 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
- 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
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.
- 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