Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add /revoke route as per RFC 7009 #17

Closed
wants to merge 2 commits into from

Conversation

earllapura
Copy link
Contributor

Added /revoke route as per RFC 7009 which was integrated into bshaffer/oauth2-server-php. Request parameters as outlined in the server library should have 'token_type_hint' which is either 'access_token' or 'refresh_token', and 'token' which is the actual token.

Added /revoke route as per RFC 7009 (https://tools.ietf.org/html/rfc7009#section-2) integrated into bshaffer/oauth2-server-php. Request parameters as outlined in the server library should have 'token_type_hint' which is either 'access_token' or 'refresh_token', and 'token' which is the actual token.
@chadicus
Copy link
Owner

chadicus commented Apr 26, 2016

Just a couple PHPCS errors

FILE: ./src/Revoke.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
  1 | ERROR | [x] End of line character is invalid; expected "\n" but
    |       |     found "\r\n"
 11 | ERROR | [x] Whitespace found at end of line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------

@chadicus
Copy link
Owner

Merged. Thanks!

@chadicus chadicus closed this Apr 26, 2016
@earllapura
Copy link
Contributor Author

Sorry, I didn't know how to correct the errors. Thanks for fixing them!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants