Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

zf-oauth2 1.4.0

Compare
Choose a tag to compare
@weierophinney weierophinney released this 10 Jul 23:15
· 46 commits to master since this release

Added

  • #149 adds support for usage of ext/mongodb with ZF\OAuth2\Adapter\MongoAdapter; users will need to also install a compatibility package to do so: composer require alcaeus/mongo-php-adapter
  • #141 and #148 update the component to allow usage with v3 releases of Zend Framework components on which it depends, while maintaining backwards compatibility with v2 components.
  • #141 and #148 add support for PHP 7.
  • #122 adds support for token revocation via the /oauth/revoke path. The path expects a POST request as either urlencoded or JSON values with the parameters:
    • token, the access token to revoke
    • token_type_hint => access_token to indicate an access token is being revoked.
  • #146 updates the AuthController to catch ZF\ApiProblem\Exception\ProblemExceptionInterface instances thrown by the OAuth2 server and return ApiProblemResponses.

Deprecated

  • Nothing.

Removed

  • #141 removes support for PHP 5.5.

Fixed

  • Nothing.