• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

TykTechnologies / tyk / 8542
39%
master: %

Build:
Build:
LAST BUILD BRANCH: v2.9.4.8
DEFAULT BRANCH: master
Ran 11 Mar 2020 10:36AM UTC
Jobs 1
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
8542

push

travis-ci

buger
Feature revoke oauth tokens (#2896)

Added endpoints to allow users to revoke access and refresh tokens, the endpoints are exposed in 2 levels: dashboard access (its already connected using another endpoint) and exposed directly via api as `OAuthHandler`  (this one is compliant of https://tools.ietf.org/html/rfc7009)

To be specific, the endpoints added are for:

- revoke single token, describing the token and token_type_hint
- revoke all the tokens related to one oauth client, for this the user must provide: apiId, clientSecret and clientID

**Revoke single token**
Method: POST
Path: /{api-id}/oauth/revoke
Content type: application/x-www-form-urlencoded
Body:

- token: string | required
- token_type_hint: string | optional | accepted values = {access_token, refresh_token}

**Revoke all tokens**
Method: POST
Path: /{api-id}/oauth/revoke_all
Content type: application/x-www-form-urlencoded
Body:

- client_id : ID of Oauth client
- client_secret: Secret of Oauth client, used to check the veracity of the request

Related to: https://github.com/TykTechnologies/product/issues/264
Jobs
ID Job ID Ran Files Coverage
2 8542.2 (TYK_LOGLEVEL=info LATEST_GO=true) 11 Mar 2020 10:36AM UTC 0
Travis Job 8542.2
Source Files on build 8542
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #8542
  • 15b74601 on github
  • Prev Build on release-2.9 (#8522)
  • Next Build on release-2.9 (#8556)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc