Releases: hwi/HWIOAuthBundle
Releases · hwi/HWIOAuthBundle
0.3.8
0.3.7
- Fix:
SessionStorage::save()could throw php error, - Fix:
OAuthToken::isExpired()always returnedfalse, - Fix:
FoursquareResourceOwner,TwitchResourceOwner,SensioConnectResourceOwner
not working with bearer header, - Fix: Don't use deprecated fields in
FacebookResourceOwner, - Fix:
FOSUBUserProvider::refreshUser()always returning old user
0.3.6
0.3.5
Bugfix release:
- Fix:
LinkedinResourceOwnerregression while getting user details, - Fix: OAuth
revokefunctionality to be available wider, - Fix: Removed undocumented functionality from
SinaWeiboResourceOwner, - Fix: Always remove default ports from URLs to match OAuth 1.0a, Spec: 9.1.2
0.3.4
Bugfix release:
- Fix: Instagram OAuth redirect to one url,
- Fix:
FOSUBUserProvidershould also implementUserProviderInterface, - Fix:
YahooResourceOwnerinfos_urlto use new format, - Fix: Send authorization via headers instead of URL parameter,
- Fix:
GithubResourceOwnerrevoke method, - Fix: Add login routing documentation note
0.3.3
Bugfix release:
- Fix: Incorrect redirect URL when no parameters are set,
- Fix: Add missing parameter
promptforGoogleResourceOwner, - Fix:
WordpressResourceOwneruser details API call, - Fix: PHP Notice when
oauth_callback_confirmedwas set toofalse, - Fix: PHP Fatal when session returns boolean instead of object,
- Fix: Add missing query parameters for
FacebookResourceOwner
0.3.2
0.3.1
0.2.10
0.3.0
Big release, big changes!
Here you have some of the details that are included in this version:
- [BC break]
AccountConnectorInterface::connect()method now requires the first parameter to be instance ofSymfony\Component\Security\Core\User\UserInterface - [BC break]
ConnectController::authenticateUser()method now requires the first parameter to be instance ofSymfony\Component\HttpFoundation\Request - [BC break] Removed
AbstractResourceOwner::addOptions()method - [BC break]
OAuthUtils::getAuthorizationUrl()&OAuthUtils::getLoginUrl()methods now expect first parameter to be instance ofSymfony\Component\HttpFoundation\Request - [BC break] LinkedIn resource owner now uses OAuth2 approach, visit official web page for details how to migrate: https://developer.linkedin.com/documents/authentication#migration
- [BC break] Dropbox resource owner now uses OAuth2 approach
- [BC break] Added
ResourceOwnerInterface::isCsrfTokenValid()method - [BC break] Removed
OAuth1RequestTokenStorageInterfacealong with the implementations - [BC break]
AbstractResourceOwner::__construct()now requiresRequestDataStorageInterfaceinstance as last argument - [BC break]
GenericOAuth2ResourceOwner::getAccessToken()now returns an array instead of a string. This array contains the access token and its 'expires_in' value, along with any other parameters returned from the authentication provider - [BC break] Added
OAuthAwareExceptionInterface#setToken(),OAuthAwareExceptionInterface#getRefreshToken(),OAuthAwareExceptionInterface#getRawToken(),OAuthAwareExceptionInterface#getExpiresIn()
methods - [BC break] Renamed
AbstractResourceOwner::doGetAccessTokenRequesttodoGetTokenRequest - [BC break] Removed
AdvancedPathUserResponse&AdvancedUserResponseInterface - [BC break] Added
UserResponseInterface#getEmail(),UserResponseInterface#getProfilePicture(),UserResponseInterface#getRefreshToken(),UserResponseInterface#getExpiresIn(),UserResponseInterface#setOAuthToken()methods - [BC break] Removed
UserResponseInterface::setAccessToken()method - [BC break] Removed
AbstractUserResponse::getOAuthToken()method because it was ambiguous - [BC break]
PathUserResponse#setPaths()method no longer overwrite default paths - [BC break]
PathUserResponse#getPath()method no longer throws an exception if path
not exists - [BC break]
PathUserResponse#getValueForPath()removed second argument from this method,
it will not throw exception anymore if response or value is missing, but now will returnnullinstead - [BC break] Added
ResourceOwnerInterface#getOption($name)method - [BC break]
ResourceOwnerInterface#getUserInformation()now must receive array ($accessToken) as first parameter, also added second parameter ($extraParameters) to be consistent along all implementations - Fix: Yandex resource owner using invalid parameter when requesting user data
- Fix: To prevent unusual content headers response from resource owners should
be first threaten as json and only in case of failure threaten as query text - Fix: Instagram resource owner is not able to receive user data more than once
- Added
OAuthToken::getRefreshToken(),OAuthToken::setRefreshToken(),OAuthToken::getExpiresIn(),OAuthToken::setExpiresIn(),OAuthToken::getRawToken(),OAuthToken::setRawToken() - Added
AbstractResourceOwner#addOptions()&ResourceOwnerInterface#setOption($name, $value)
methods which allows easy overwriting resource specific options - Added support for options:
access_type,request_visible_actions,approval_prompt&hdin Google resource owner - Added ability to disable confirmation page when connecting accounts
- Added CSRF protection for OAuth2 providers (turned off by default)
- Added
RequestDataStorageInterfacealong with implementation - Added ability to merge response parts into single path
- Added Amazon resource owner
- Added Bitbucket resource owner
- Added Bitly resource owner
- Added Box resource owner
- Added Dailymotion resource owner
- Added DeviantArt resource owner
- Added Disqus resource owner
- Added Dropbox resource owner
- Added Eventbrite resource owner
- Added Flickr resource owner
- Added Instagram resource owner
- Added Mail.ru resource owner
- Added Odnoklassniki resource owner
- Added QQ.com resource owner
- Added Sina Weibo resource owner
- Added Stereomood resource owner
- Added Trello resource owner
- Added Wordpress resource owner
- Added Yandex resource owner
- Added 37signals resource owner