All notable changes to this project will be documented in this file, in reverse chronological order by release.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
-
#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)
inMissingProviderConfigException
in order to assert that the provider key has been set for providers in the configuration.
-
#3 changes array disposition in the configuration files to include
provider
andoptions
keys (BC break). The provider array key tells the factory what to instantiate, and the options value is passed to theProvider
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 methodgetUsernameFromResourceOwner(ResourceOwnerInterface $resourceOwner) : string
if methods$resourceOwner->getEmail()
and$resourceOwner->getNickname()
don't exist, instead of throwing anUnexpectedResourceOwnerTypeException
.
- Nothing.
-
#3 removes
UnsupportedProviderException
, as it is not used anymore. -
#3 removes
UnexpectedResourceOwnerTypeException
, as it is not used anymore.
- #3 fixes a namespace reference within a shipped config file.
- Adds the method
OAuth2User::getDetail(string $name, $default = null)
in order to fulfill the zend-expressive-authentication 1.0.0 API for theUserInterface
.
-
The method
OAuth2User::getUserRoles() : array
was refactored toOAuth2User::getRoles() : iterable
in order to match the zend-expressive-authentication 1.0.0 API. -
The method
OAuth2User::getUserData() : array
was refactored toOAuth2User::getDetails() : array
in order to match the zend-expressive-authentication 1.0.0 API.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Fixes how the callback factory produces a pipeline. Instead of using an
Application
instance derived from theApplicationFactory
(which will receive a shared route collector and shared middleware), it now produces aMiddlewarePipe
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 newRouteMiddleware
instance to ensure it is sandboxed from the main application.
- #1 adds support for Expressive v3 and zend-expressive-authentication 0.4+.
- Nothing.
- Nothing.
- #1 removes support for Expressive v2 releases, including pre-0.4 releases of zend-expressive-authentication.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Fixes an import in the DebugProviderMiddlewareFactory for the RedirectResponseFactory to ensure it resolves correctly.
- Adds templates for PlatesPHP, Twig, and zend-view.
- Adds documentation covering templates.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Everything.
- Nothing.
- Nothing.
- Nothing.
- Nothing.