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

Releases: zfcampus/zf-oauth2

zf-oauth2 1.5.0

07 May 21:55
Compare
Choose a tag to compare

Added

  • #167 adds support for PHP 7.1 and 7.2.

Changed

  • #160 alters AuthController::tokenAction() such that it uses the exception code from
    a caught ProblemExceptionInterface instance as the ApiProblem status if it falls in the 400-600 range.

  • #151 updates ZF\OAuth2\Provider\UserId\AuthenticationService to allow injecting any
    Zend\Authentication\AuthenticationServiceInterface implementation, not just Zend\Authentication\AuthenticationService.

Deprecated

  • Nothing.

Removed

  • #167 removes support for HHVM.

Fixed

  • Nothing.

zf-oauth2 1.4.0

10 Jul 23:15
Compare
Choose a tag to compare

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.

zf-oauth2 1.3.3

07 Jul 21:55
Compare
Choose a tag to compare

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #147 fixes an issue in the AuthControllerFactory introduced originally by a change in zend-mvc (and since corrected in that component). The patch to AuthControllerFactory makes it forwards compatible with zend-servicemanager v3, and prevents the original issue from recurring in the future.
  • #144 removes an unused variable from the receive-code template.

zf-oauth2 1.3.2

24 Jun 15:37
Compare
Choose a tag to compare

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #120 fixes a typo in the ZF\OAuth2\Provider\UserId\AuthenticationService which prevented returning of the user identifier.