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

zend-expressive-authentication-oauth2 1.0.0

Compare
Choose a tag to compare
@ezimuel ezimuel released this 04 Oct 08:13
· 81 commits to master since this release

Added

  • #41 Allows existing PDO service to be used. This will allow us to reuse existing pdo services instead of opening up a second connection for oauth.
  • #42 Adds TokenEndpointHandler, AuthorizationMiddleware and AuthorizationHandler in the Zend\Expressive\Authentication\OAuth2 namespace to implement an authorization server.
  • #50 Adds all the OAuth2 identity data generated by thephpleague/oauth2-server to UserInterface PSR-7 attribute. These values are oauth_user_id, oauth_client_id, oauth_access_token_id, oauth_scopes`.

Changed

  • #42 Splits Zend\Expressive\Authentication\OAuth2\OAuth2Middleware into individual implementations that allow OAuth RFC-6749 compliant authorization server implementations.

Deprecated

  • Nothing.

Removed

  • #42 Removes Zend\Expressive\Authentication\OAuth2\OAuth2Middleware.

Fixed

  • #44 Fixes revocation of access token for PDO repository
  • #45 Fixes issue with empty scope being passed throwing exception.