PageRenderTime 73ms CodeModel.GetById 39ms RepoModel.GetById 0ms app.codeStats 0ms

/vendor/hwi/oauth-bundle/CHANGELOG.md

https://gitlab.com/Snizer/PI-DEV-TUNISIAMALL3A6-WEB
Markdown | 271 lines | 246 code | 25 blank | 0 comment | 0 complexity | 8655364d3005aee7b6b990b54fbf3ac5 MD5 | raw file
  1. Changelog
  2. =========
  3. ## 0.4.1 (2016-03-08)
  4. * Fixed: Remove usage of deprecated Twig function `form_enctype` & replace with usage of `form_start`/`form_end`,
  5. * Fixed: Mark as not fully compatible with Symfony `~3.0`,
  6. * Fixed: Multiple firewalls can now have different resource owners,
  7. * Fixed: Wrong URL generated for Safesforce resource owner,
  8. * Added: `include_email` option into Twitter resource owner,
  9. * Added: Hungarian translation,
  10. * Added: Documentation about FOSUser integration
  11. ## 0.4.0 (2015-12-04)
  12. * [BC break] Added `UserResponseInterface#getFirstName()` method, also a new default path `firstname`
  13. was added, this path holds the first name of user,
  14. * [BC break] Added `UserResponseInterface#getLastName()` method, also a new default path `lastname`
  15. was added, this path holds the last name of user,
  16. * [BC break] Added `UserResponseInterface::getOAuthToken()` & basic implementation in `AbstractUserResponse`,
  17. * [BC break] `GenericOAuth1ResourceOwner::getRequestToken()` is now public method (was protected),
  18. * Added: configuration parameter `firewall_name` (will be removed in next major version)
  19. renamed to `firewall_names` to support multiple firewalls,
  20. * Added: configuration parameter: `failed_auth_path` which contains route name, on which user
  21. will be redirected after failure when connecting accounts (i.e. user denies connection),
  22. * Added: `appsecret_proof` functionality support to the Facebook resource owner,
  23. * Added: `sandbox` functionality support to the Salesforce resource owner,
  24. * Added Auth0 resource owner,
  25. * Added Azure resource owner,
  26. * Added BufferApp resource owner,
  27. * Added Deezer resource owner,
  28. * Added Discogs resource owner,
  29. * Added EveOnline resource owner,
  30. * Added Fiware resource owner,
  31. * Added Hubic resource owner,
  32. * Added Paypal resource owner,
  33. * Added Reddit resource owner,
  34. * Added Runkeeper resource owner,
  35. * Added Slack resource owner,
  36. * Added Spotify resource owner,
  37. * Added Soundcloud resource owner,
  38. * Added Strava resource owner,
  39. * Added Toshl resource owner,
  40. * Added Trakt resource owner,
  41. * Added Wechat resource owner,
  42. * Added Wordpress resource owner,
  43. * Added Xing resource owner,
  44. * Added Youtube resource owner,
  45. * Fixed: Revoking tokens for Facebook & Google resource owners,
  46. * Fixed: Instagram allows only GET calls to fetch user details,
  47. * Fixed: `ResourceOwnerMap` no longer depends on deprecated `ContainerAware` class,
  48. * Fixed: Wrong usage of `json_decode` in Mail.ru resource owner,
  49. * Fixed: Transform storage exceptions in OAuth1 resource owners into `AuthenticationException`
  50. * Fixed: Default scopes & fields for VKontakte resource owner
  51. ## 0.3.9 (2015-08-28)
  52. * Fix: Remove deprecated Twig features
  53. * Fix: Undefined variable in `FOSUBUserProvider::refreshUser`
  54. * Fix: Restore property accessor for Symfony 2.3
  55. ## 0.3.8 (2015-05-04)
  56. * Fix: Remove BC break for Symfony < 2.5,
  57. * Fix: Compatibility issues with Symfony 2.6+,
  58. * Fix: Deprecated graph URLs for `FacebookResourceOwner`
  59. ## 0.3.7 (2014-11-15)
  60. * Fix: `SessionStorage::save()` could throw php error,
  61. * Fix: `OAuthToken::isExpired()` always returned `false`,
  62. * Fix: `FoursquareResourceOwner`, `TwitchResourceOwner`, `SensioConnectResourceOwner`
  63. not working with bearer header,
  64. * Fix: Don't use deprecated fields in `FacebookResourceOwner`,
  65. * Fix: `FOSUBUserProvider::refreshUser()` always returning old user,
  66. ## 0.3.6 (2014-06-02)
  67. * Fix: `InstagramResourceOwner` regression while getting user details,
  68. * Fix: Add smooth migration for session (de)serialization
  69. ## 0.3.5 (2014-05-30)
  70. * Fix: `LinkedinResourceOwner` regression while getting user details,
  71. * Fix: OAuth `revoke` functionality to be available wider,
  72. * Fix: Removed undocumented functionality from `SinaWeiboResourceOwner`,
  73. * Fix: Always remove default ports from URLs to match OAuth 1.0a, Spec: 9.1.2
  74. ## 0.3.4 (2014-05-12)
  75. * Fix: Instagram OAuth redirect to one url,
  76. * Fix: `FOSUBUserProvider` should also implement `UserProviderInterface`,
  77. * Fix: `YahooResourceOwner` `infos_url` to use new format,
  78. * Fix: Send authorization via headers instead of URL parameter,
  79. * Fix: `GithubResourceOwner` revoke method,
  80. * Fix: Add login routing documentation note
  81. ## 0.3.3 (2014-02-17)
  82. * Fix: Incorrect redirect URL when no parameters are set,
  83. * Fix: Add missing parameter `prompt` for `GoogleResourceOwner`,
  84. * Fix: `WordpressResourceOwner` user details API call,
  85. * Fix: PHP Notice when `oauth_callback_confirmed` was set too `false`,
  86. * Fix: PHP Fatal when session returns boolean instead of object,
  87. * Fix: Add missing query parameters for `FacebookResourceOwner`
  88. ## 0.3.2 (2014-02-07)
  89. * Fix: Prevent `SessionUnavailableException` when returns back from service,
  90. * Fix: `EntityUserProvider` should implement `UserProviderInterface`,
  91. * Fix: `createdAt` property was missing when serializing the `OAuthToken`,
  92. * Added Italian translations
  93. ## 0.3.1 (2014-01-17)
  94. * Fix: Change Twitter API call to use SSL URL,
  95. * Fix: Problems with options in `VkontakteResourceOwner`,
  96. * Fix: Problems with OAuth 1.0a token & `YahooResourceOwner`,
  97. * Fix: Throw exception in `FOSUBUserProvider` when username is missing
  98. * Added SalesForce resource owner
  99. ## 0.3.0 (2013-09-28)
  100. * [BC break] `AccountConnectorInterface::connect()` method now requires the first
  101. parameter to be instance of `Symfony\Component\Security\Core\User\UserInterface`
  102. * [BC break] `ConnectController::authenticateUser()` method now requires the first
  103. parameter to be instance of `Symfony\Component\HttpFoundation\Request`
  104. * [BC break] Removed `AbstractResourceOwner::addOptions()` method
  105. * [BC break] `OAuthUtils::getAuthorizationUrl()` & `OAuthUtils::getLoginUrl()` methods
  106. now expect first parameter to be instance of `Symfony\Component\HttpFoundation\Request`
  107. * [BC break] LinkedIn resource owner now uses OAuth2 approach, visit official
  108. web page for details how to migrate: https://developer.linkedin.com/documents/authentication#migration
  109. * [BC break] Dropbox resource owner now uses OAuth2 approach
  110. * Added ability to merge response parts into single path
  111. * Added Bitly resource owner
  112. * Added Box resource owner
  113. * Added Dailymotion resource owner
  114. * Added DeviantArt resource owner
  115. * Added Eventbrite resource owner
  116. * Added Mail.ru resource owner
  117. * Added Sina Weibo resource owner
  118. * Added QQ.com resource owner
  119. * Added Trello resource owner
  120. * Added Wordpress resource owner
  121. ## 0.3.0-alpha2 (2013-07-29)
  122. * [BC break] Added `ResourceOwnerInterface::isCsrfTokenValid()` method
  123. * [BC break] Removed `OAuth1RequestTokenStorageInterface` along with the implementations
  124. * [BC break] `AbstractResourceOwner::__construct()` now requires `RequestDataStorageInterface`
  125. instance as last argument
  126. * Fix: Yandex resource owner using invalid parameter when requesting user data
  127. * Fix: To prevent unusual content headers response from resource owners should
  128. be first threaten as json and only in case of failure threaten as query text
  129. * Fix: Instagram resource owner is not able to receive user data more than once
  130. * Added ability to disable confirmation page when connecting accounts
  131. * Added CSRF protection for OAuth2 providers (turned off by default)
  132. * Added `RequestDataStorageInterface` along with implementation
  133. * Added Stereomood resource owner
  134. ## 0.3.0-alpha1 (2013-07-03)
  135. * [BC break] `GenericOAuth2ResourceOwner::getAccessToken()` now returns an array
  136. instead of a string. This array contains the access token and its 'expires_in'
  137. value, along with any other parameters returned from the authentication provider
  138. * [BC break] Added `OAuthAwareExceptionInterface#setToken()`, `OAuthAwareExceptionInterface#getRefreshToken()`,
  139. `OAuthAwareExceptionInterface#getRawToken()`, `OAuthAwareExceptionInterface#getExpiresIn()`
  140. methods
  141. * [BC break] Renamed `AbstractResourceOwner::doGetAccessTokenRequest` to `doGetTokenRequest`
  142. * [BC break] Removed `AdvancedPathUserResponse` & `AdvancedUserResponseInterface`
  143. * [BC break] Added `UserResponseInterface#getEmail()`, `UserResponseInterface#getProfilePicture()`,
  144. `UserResponseInterface#getRefreshToken()`, `UserResponseInterface#getExpiresIn()`,
  145. `UserResponseInterface#setOAuthToken()` methods
  146. * [BC break] Removed `UserResponseInterface::setAccessToken()` method
  147. * [BC break] Removed `AbstractUserResponse::getOAuthToken()` method because it was ambiguous
  148. * [BC break] `PathUserResponse#setPaths()` method no longer overwrite default paths
  149. * [BC break] `PathUserResponse#getPath()` method no longer throws an exception if path
  150. not exists
  151. * [BC break] `PathUserResponse#getValueForPath()` removed second argument from this method,
  152. it will not throw exception anymore if response or value is missing, but now will return
  153. `null` instead
  154. * [BC break] Added `ResourceOwnerInterface#getOption($name)` method
  155. * [BC break] `ResourceOwnerInterface#getUserInformation()` now must receive array (`$accessToken`)
  156. as first parameter, also added second parameter (`$extraParameters`) to be consistent
  157. along all implementations
  158. * Added `OAuthToken::getRefreshToken()`, `OAuthToken::setRefreshToken()`, `OAuthToken::getExpiresIn()`,
  159. `OAuthToken::setExpiresIn()`, `OAuthToken::getRawToken()`, `OAuthToken::setRawToken()`
  160. * Added `AbstractResourceOwner#addOptions()` & `ResourceOwnerInterface#setOption($name, $value)`
  161. methods which allows easy overwriting resource specific options
  162. * Added support for options: `access_type`, `request_visible_actions`, `approval_prompt` & `hd`
  163. in Google resource owner
  164. * Added 37signals resource owner
  165. * Added Amazon resource owner
  166. * Added Bitbucket resource owner
  167. * Added Disqus resource owner
  168. * Added Dropbox resource owner
  169. * Added Flickr resource owner
  170. * Added Instagram resource owner
  171. * Added Odnoklassniki resource owner
  172. * Added Yandex resource owner
  173. ## 0.2.10 (2013-12-09)
  174. * Fix: use `Symfony\Component\Security\Core\User\UserInterface` in `EntityUserProvider::refreshUser`
  175. * Fix: made `SessionStorage` compatible with Symfony 2.0
  176. ## 0.2.9 (2013-09-25)
  177. * Fix: Regression done in version `0.2.8` blocking usage without `FOSUserBundle`
  178. * Fix: `OAuthUtils::getAuthorizationUrl()` ignoring given redirect URL
  179. ## 0.2.8 (2013-09-19)
  180. * Fix: Added missing parts in user providers like: `loadUserByUsername()`
  181. or `refreshUser()` methods
  182. * Fix: Registering of user provider services
  183. * Fix: Make `OAuthUtils::signRequest()` compatible with OAuth1.0a specification
  184. ## 0.2.7 (2013-08-03)
  185. * Fix: Polish oauth error detection to cover cases from i.e. Facebook resource owner
  186. * Fix: Changed authorization url for Vkontakte resource owner
  187. ## 0.2.6 (2013-06-24)
  188. * Fix: Use same check for FOSUserBundle compatibility to prevent strange errors
  189. with calls of undefined services
  190. * Fix: User-land aliased (resource owner) services have the appropriate name
  191. ## 0.2.5 (2013-05-29)
  192. * Fix: Use user identifier represented as string for Twitter to prevent issues with
  193. losing accuracy for large numbers (i.e. Javascript) or type comparison (i.e. MongoDB)
  194. * Fix: Don't depend on `arg_separator.output` data for URL generation to prevent issues
  195. ## 0.2.4 (2013-05-15)
  196. * Fix: Throw `Symfony\Component\Security\Core\Exception\AccessDeniedException`
  197. & `Symfony\Component\HttpKernel\Exception\NotFoundHttpException` instead of `\Exception`
  198. to make cases more clear
  199. * Fix: Detect `oauth_problem` as authorization error and inform user instead logging error
  200. in background
  201. * Fix: Request extra parameters should have higher priority than default
  202. * Fix: How urls are build in resource owners
  203. * Fix: Missing parameter in `YahooResourceOwner`
  204. ## 0.2.3 (2013-05-06)
  205. * Added `AbstractUserResponse::getOAuthToken()` method to allow fetching only OAuth token details
  206. * Added french translation
  207. * Fix: FB incompatibility with 'error' field in response
  208. ## 0.2.2 (2013-04-15)
  209. * Fix: FOSUB registration form handler
  210. * Fix: Use API 1.1 for Twitter, not the deprecated 1.0
  211. ## 0.2.1 (2013-03-27)
  212. * Fixed issue with FOSUserBundle 2.x integration
  213. ## 0.2.0 (2013-03-26)
  214. * Added support for a `target_path_parameter` in order to control the redirect path after login
  215. * Added `hwi_oauth_authorization_url()` twig helper function
  216. * Added Jira resource owner
  217. * Added Yahoo resource owner
  218. * Added setting `realm` in configuration
  219. * Added support for FOSUserBundle 2.x integration
  220. * Added Stack Exchange resource owner
  221. * Fix: configuration parameter `firewall_name` is required
  222. * Fix: prevent throwing `AlreadyBoundException` when using FOSUserBundle 1.x integration
  223. * Fix: check for availability of `profilePicture` in views before calling it
  224. * Fix: `InMemoryProvider` now shows user nickname as name instead of unique identifier
  225. * Fix: don't set `realm` option if is empty in request headers
  226. * Fix: for infinity loop blockade and error token response handling
  227. ## 0.1-alpha (2012-08-27)
  228. * [BC break] Renamed path `username` to `identifier` to make it more clear that this path should
  229. hold the unique user identifier (previously `username`)
  230. * [BC break] Method `UserResponseInterface#getUsername()` now always returns a real
  231. unique user identifier, and uses path `identifier`
  232. * [BC break] `OAuth1RequestTokenStorageInterface#save()` second param `$token` must
  233. now be an array
  234. * [BC break] Configuration type 'generic' is renamed to 'oauth2'
  235. * [BC break] `redirect.xml` routing has to be imported. See the setup docs
  236. * Added `UserResponseInterface#getRealName()` method, also a new default path `realname`
  237. was added, this path holds the real name of user
  238. * Added `UserResponseInterface#getNickName()` method, also a new default path `nickname`
  239. was added, this path holds the nickname of user
  240. * Added `UserResponseInterface#getAccessToken()` and `UserResponseInterface#setAccessToken`
  241. * Added `OAuthToken#getCredentials()` returns an empty string to be consistent with
  242. the security component. The access token can still be retrieved from the
  243. `getAccessToken()` method
  244. * Added change that forces all authentication requests are now redirected to the login path
  245. * Added change that makes `firewall_name` option required setting
  246. * Added OAuth 1.0a support (linkedin/twitter/generic)