1.0.0-beta1
Pre-release
Pre-release
- API for 1.0 is now frozen!
- BREAK: Convert all uses of "User" to "ResourceOwner" to more closely match the OAuth 2.0 specification.
- BREAK: Rename
StandardProvider
toGenericProvider
. - BREAK: Move access token creation to the
AbstractProvider
. It was previously handled in theAbstractGrant
. - FIX: Add
Content-Type
header with value ofapplication/x-www-form-urlencoded
to the request header when retrieving access tokens. This adheres to the OAuth 2.0 specification and fixes issues where certain OAuth servers expect this header. - Enhanced
json_encode()
serialization of AccessToken; when usingjson_encode()
on an AccessToken, it will return a JSON object with these properties:access_token
,refresh_token
, andexpires_in
.