UserResponseInterface#getFirstName() method, also a new default path firstname
was added, this path holds the first name of userUserResponseInterface#getLastName() method, also a new default path lastname
was added, this path holds the last name of userFOSUBUserProvider::refreshUserFacebookResourceOwnerSessionStorage::save() could throw php error,OAuthToken::isExpired() always returned false,FoursquareResourceOwner, TwitchResourceOwner, SensioConnectResourceOwner
not working with bearer header,FacebookResourceOwner,FOSUBUserProvider::refreshUser() always returning old user,InstagramResourceOwner regression while getting user details,LinkedinResourceOwner regression while getting user details,revoke functionality to be available wider,SinaWeiboResourceOwner,FOSUBUserProvider should also implement UserProviderInterface,YahooResourceOwner infos_url to use new format,GithubResourceOwner revoke method,prompt for GoogleResourceOwner,WordpressResourceOwner user details API call,oauth_callback_confirmed was set too false,FacebookResourceOwnerSessionUnavailableException when returns back from service,EntityUserProvider should implement UserProviderInterface,createdAt property was missing when serializing the OAuthToken,VkontakteResourceOwner,YahooResourceOwner,FOSUBUserProvider when username is missingResourceOwnerInterface::isCsrfTokenValid() methodOAuth1RequestTokenStorageInterface along with the implementationsAbstractResourceOwner::__construct() now requires RequestDataStorageInterface
instance as last argumentRequestDataStorageInterface along with implementationGenericOAuth2ResourceOwner::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 providerOAuthAwareExceptionInterface#setToken(), OAuthAwareExceptionInterface#getRefreshToken(),
OAuthAwareExceptionInterface#getRawToken(), OAuthAwareExceptionInterface#getExpiresIn()
methodsAbstractResourceOwner::doGetAccessTokenRequest to doGetTokenRequestAdvancedPathUserResponse & AdvancedUserResponseInterfaceUserResponseInterface#getEmail(), UserResponseInterface#getProfilePicture(),
UserResponseInterface#getRefreshToken(), UserResponseInterface#getExpiresIn(),
UserResponseInterface#setOAuthToken() methodsUserResponseInterface::setAccessToken() methodAbstractUserResponse::getOAuthToken() method because it was ambiguousPathUserResponse#setPaths() method no longer overwrite default pathsPathUserResponse#getPath() method no longer throws an exception if path
not existsPathUserResponse#getValueForPath() removed second argument from this method,
it will not throw exception anymore if response or value is missing, but now will return
null insteadResourceOwnerInterface#getOption($name) methodResourceOwnerInterface#getUserInformation() now must receive array ($accessToken)
as first parameter, also added second parameter ($extraParameters) to be consistent
along all implementationsOAuthToken::getRefreshToken(), OAuthToken::setRefreshToken(), OAuthToken::getExpiresIn(),
OAuthToken::setExpiresIn(), OAuthToken::getRawToken(), OAuthToken::setRawToken()AbstractResourceOwner#addOptions() & ResourceOwnerInterface#setOption($name, $value)
methods which allows easy overwriting resource specific optionsaccess_type, request_visible_actions, approval_prompt & hd
in Google resource ownerAccountConnectorInterface::connect() method now requires the first
parameter to be instance of Symfony\Component\Security\Core\User\UserInterfaceConnectController::authenticateUser() method now requires the first
parameter to be instance of Symfony\Component\HttpFoundation\RequestAbstractResourceOwner::addOptions() methodOAuthUtils::getAuthorizationUrl() & OAuthUtils::getLoginUrl() methods
now expect first parameter to be instance of Symfony\Component\HttpFoundation\Request0.2.8 blocking usage without FOSUserBundleOAuthUtils::getAuthorizationUrl() ignoring given redirect URLloadUserByUsername()
or refreshUser() methodsOAuthUtils::signRequest() compatible with OAuth1.0a specificationarg_separator.output data for URL generation to prevent issuesSymfony\Component\Security\Core\Exception\AccessDeniedException
& Symfony\Component\HttpKernel\Exception\NotFoundHttpException instead of \Exception
to make cases more clearoauth_problem as authorization error and inform user instead logging error
in backgroundYahooResourceOwnerAbstractUserResponse::getOAuthToken() method to allow fetching only OAuth token detailsSymfony\Component\Security\Core\User\UserInterface in EntityUserProvider::refreshUserSessionStorage compatible with Symfony 2.0target_path_parameter in order to control the redirect path after loginhwi_oauth_authorization_url() twig helper functionrealm in configurationfirewall_name is requiredAlreadyBoundException when using FOSUserBundle 1.x integrationprofilePicture in views before calling itInMemoryProvider now shows user nickname as name instead of unique identifierrealm option if is empty in request headersusername to identifier to make it more clear that this path should
hold the unique user identifier (previously username)UserResponseInterface#getUsername() now always returns a real
unique user identifier, and uses path identifierOAuth1RequestTokenStorageInterface#save() second param $token must
now be an arrayredirect.xml routing has to be imported. See the setup docsUserResponseInterface#getRealName() method, also a new default path realname
was added, this path holds the real name of userUserResponseInterface#getNickName() method, also a new default path nickname
was added, this path holds the nickname of userUserResponseInterface#getAccessToken() and UserResponseInterface#setAccessTokenOAuthToken#getCredentials() returns an empty string to be consistent with
the security component. The access token can still be retrieved from the
getAccessToken() methodfirewall_name option required settingHow can I help you explore Laravel packages today?