NPR Revoke an existing OAuth2 access token

NPR - Revoke an existing OAuth2 access token

Our implementation follows the proposed IETF specification [RFC-7009](https://tools.ietf.org/html/rfc7009). If your client application offers the ability to for a logged-in user to log out, and you have access to a long-lived `client_credentials` token (i.e. you have generated one that you are storing securely for the lifetime of the entire app install), we suggest (but do not require) that you call this endpoint and revoke the access token belonging to the logged-in user as part of your logout process. If you do not already have a long-lived `client_credentials` token, please don't generate one just for the purposes of calling this endpoint. If you are building a prototype application, we also recommend that you use this endpoint to clean up access tokens that you generate during the testing of your app and do not intend to reuse. Note that revoking an access token will automatically revoke any refresh tokens associated with it, and vice-versa.

Posted on:

2018-08-28

API Description

Provider

NPR

decription

NPR delivers breaking national and world news. Also top stories from business, politics, health, science, technology, music, arts and culture. Subscribe to podcasts and RSS feeds.

Curl command through Streamdata.io

curl -v -h "header{header_value}""https://streamdata.motwin.net/http://api.npr.orgauthorization/v2/token/revoke?X-Sd-Token={streamdata_token}"



Return to Main Page



Submit Your API

Join the gallery to find out how much you can save with Streamdata.io.