class SocialNetworkUserProvider extends FOSUBUserProvider

Class SocialNetworkUserProvider

Methods

__construct(UserManagerInterface $userManager, array $properties, ContainerInterface $container)

Constructor.

connect(UserInterface $user, UserResponseInterface $response)

Connect existing user to social network account {@inheritDoc}

loadUserByOAuthUserResponse(UserResponseInterface $response)

Load user or create new one {@inheritdoc}

Details

at line 42
__construct(UserManagerInterface $userManager, array $properties, ContainerInterface $container)

Constructor.

Parameters

UserManagerInterface $userManager FOSUB user provider.
array $properties Property mapping.
ContainerInterface $container

at line 56
connect(UserInterface $user, UserResponseInterface $response)

Connect existing user to social network account {@inheritDoc}

Parameters

UserInterface $user
UserResponseInterface $response

at line 91
loadUserByOAuthUserResponse(UserResponseInterface $response)

Load user or create new one {@inheritdoc}

Parameters

UserResponseInterface $response