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

Tag 1.8.0 #643

Merged
merged 25 commits into from
Sep 18, 2015
Merged

Tag 1.8.0 #643

merged 25 commits into from
Sep 18, 2015

Conversation

bshaffer
Copy link
Owner

bshaffer and others added 25 commits May 9, 2015 12:53
fixes #547 - ensures Grant Type identifier is passed to tokencontroller
  - using the command "php-cs-fixer fix . --fixers=-phpdoc_params"
Allow configurable access_lifetime and refresh_token_lifetime for default JWT tokens
uses only 2.8 for tests
Implementation follows the Draft RFC7009 OAuth 2.0 Token Revocation.

Essentially adds a unsetAccessToken method to all the storage objects, and exposes a revoke endpoint on controllers. The only interesting thing is the ResponseType\AccessToken::revokeToken() method which has to check all token types if the specified type doesn't exist.

Maintains BC with v1.x by commenting out the AccessToken interface methods, and annotated an @todo to implement these in 2.x. Throws a \RuntimeException if storage/response objects don't support the interface
Added support for revoking tokens
When running in hhvm passing a value as reference will result in a fatal error.
Mongo Storage HHVM Compability
bshaffer added a commit that referenced this pull request Sep 18, 2015
@bshaffer bshaffer merged commit 058c98f into master Sep 18, 2015
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.

7 participants