Skip to content

Releases: hwi/HWIOAuthBundle

0.2.7

03 Aug 14:23
Compare
Choose a tag to compare

Bugfix release:

  • Fix: Polish oauth error detection to cover cases from i.e. Facebook resource owner
  • Fix: Changed authorization url for Vkontakte resource owner

0.3.0-alpha2

29 Jul 19:56
Compare
Choose a tag to compare
0.3.0-alpha2 Pre-release
Pre-release

This version is still under development, and not recommended for production use, although it should work without any big issues.

List of most important changes:

  • [BC break] Added ResourceOwnerInterface::isCsrfTokenValid() method
  • [BC break] Removed OAuth1RequestTokenStorageInterface along with the implementations
  • [BC break] AbstractResourceOwner::__construct() now requires RequestDataStorageInterface
    instance as last argument
  • 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 ability to disable confirmation page when connecting accounts
  • Added CSRF protection for OAuth2 providers (turned off by default)
  • Added RequestDataStorageInterface along with implementation
  • Added Stereomood resource owner

0.3.0-alpha1

03 Jul 18:46
Compare
Choose a tag to compare
0.3.0-alpha1 Pre-release
Pre-release

This version is under development, and not recommended for production use, although it should work without any big issues.

List of most important changes:

  • [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::doGetAccessTokenRequest to doGetTokenRequest
  • [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 return
    null instead
  • [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
  • 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
    in Google resource owner
  • Added 37signals resource owner
  • Added Amazon resource owner
  • Added Bitbucket resource owner
  • Added Disqus resource owner
  • Added Dropbox resource owner
  • Added Flickr resource owner
  • Added Instagram resource owner
  • Added Odnoklassniki resource owner
  • Added Yandex resource owner