Skip to content

Releases: phly/phly-expressive-oauth2clientauthentication

phly-expressive-oauth2clientauthentication 2.0.0

12 Nov 17:52
2.0.0
Compare
Choose a tag to compare

Added

  • #3 adds support for all League OAuth2 Clients that inherits from the upstream League\OAuth2\Client\Provider\AbstractProvider.

  • #3 adds the method forProviderKey(string $provider) in MissingProviderConfigException in order to assert that the provider key has been set for providers in the configuration.

Changed

  • #3 changes array disposition in the configuration files to include provider and options keys (BC break). The provider array key tells the factory what to instantiate, and the options value is passed to the Provider constructor. Read the documentation on local/environment-specific configuration for specific implementation details and examples.

  • #3 allows the username to default to $resourceOwner->getId() in method getUsernameFromResourceOwner(ResourceOwnerInterface $resourceOwner) : string if methods $resourceOwner->getEmail() and $resourceOwner->getNickname() don't exist, instead of throwing an UnexpectedResourceOwnerTypeException.

Deprecated

  • Nothing.

Removed

  • #3 removes UnsupportedProviderException, as it is not used anymore.

  • #3 removes UnexpectedResourceOwnerTypeException, as it is not used anymore.

Fixed

  • #3 fixes a namespace reference within a shipped config file.

phly-expressive-oauth2clientauthentication 1.0.0

19 Oct 15:50
Compare
Choose a tag to compare

Added

  • Adds the method OAuth2User::getDetail(string $name, $default = null) in
    order to fulfill the zend-expressive-authentication 1.0.0 API for the
    UserInterface.

Changed

  • The method OAuth2User::getUserRoles() : array was refactored to
    OAuth2User::getRoles() : iterable in order to match the
    zend-expressive-authentication 1.0.0 API.

  • The method OAuth2User::getUserData() : array was refactored to
    OAuth2User::getDetails() : array in order to match the
    zend-expressive-authentication 1.0.0 API.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

phly-expressive-oauth2clientauthentication 0.2.1

28 Mar 21:58
Compare
Choose a tag to compare

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Fixes how the callback factory produces a pipeline. Instead of using an
    Application instance derived from the ApplicationFactory (which will
    receive a shared route collector and shared middleware), it now produces a
    MiddlewarePipe instance into which it pipes the various middleware. It also
    creates a new router, based on the type returned from the container (it
    assumes no constructor arguments are necessary), and passes that to a new
    RouteMiddleware instance to ensure it is sandboxed from the main
    application.

phly-expressive-oauth2clientauthentication 0.2.0

27 Mar 21:58
Compare
Choose a tag to compare

Added

  • #1
    adds support for Expressive v3 and zend-expressive-authentication 0.4+.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • #1
    removes support for Expressive v2 releases, including pre-0.4 releases of
    zend-expressive-authentication.

Fixed

  • Nothing.

phly-expressive-oauth2clientauthentication 0.1.3

23 Dec 15:09
Compare
Choose a tag to compare
  • Fixes incorrect namespace for ConfigProvider.
    The composer.json had an incorrect namespace for the
    ConfigProvider, which meant that once injected into a config.php
    file, an error would immediately occur. This patch fixes that
    situation.

phly-expressive-oauth2clientauthentication 0.1.2

16 Nov 21:29
Compare
Choose a tag to compare

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Fixes an import in the DebugProviderMiddlewareFactory for the RedirectResponseFactory to ensure it resolves correctly.

phly-expressive-oauth2clientauthentication 0.1.1

16 Nov 18:39
Compare
Choose a tag to compare

Added

  • Adds templates for PlatesPHP, Twig, and zend-view.
  • Adds documentation covering templates.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

phly-expressive-oauth2clientauthentication 0.1.0

16 Nov 18:07
Compare
Choose a tag to compare