This release contains numerous BC breaks from the 0.x series. Please note these breaks and refer to the upgrade guide.
- BREAK: Requires PHP 5.5.0 and greater.
- BREAK: All providers have been moved to separate repositories, one for each provider.
- BREAK: All
publicproperties have been set asprotectedorprivateand getters/setters have been introduced for access to these properties. - BREAK: The
Provider\ProviderInterfacehas been removed. Please extend from and overrideProvider\AbstractProvider. - BREAK: The
Entity\Userhas been removed. Providers should implement theProvider\UserInterfaceand provide user functionality instead of expecting it in this base library. - BREAK: The
Grant\GrantInterfacehas been removed. Providers needing to provide a new grant type should extend from and overrideGrant\AbstractGrant. - A generic
Provider\StandardProviderhas been introduced, which may be used as a client to integrate with most OAuth 2.0 compatible servers. - A
Grant\GrantFactoryhas been introduced as a means to register and retrieve singleton grants from a registry. - Introduced traits for bearer and MAC authorization (
Tool\BearerAuthorizationTraitandTool\MacAuthorizationTrait), which providers may use to enable these header authorization types.