메소드 |
설명 |
|
__construct ( Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage $tokenStorage, EntityManager $entityManager, FOS\UserBundle\Util\UserManipulator $userManipulator, FOS\UserBundle\Model\UserManagerInterface $userManager, $userLimit = false ) |
|
|
checkUserLimit ( ) : boolean |
Checks if the amount of users is exceeded. |
|
deleteFOSUser ( User $user ) |
Deletes an user from the FOSUser system. |
|
getBuiltinProvider ( ) |
|
|
getProvider ( $providerClass ) |
|
|
getProviderByType ( $type ) |
|
|
getProviderTypeByClass ( $providerClass ) |
|
|
getProxyUser ( $username, UserProvider $provider, boolean | false $create = false ) : mixed | User |
Returns the proxy user for a given username and provider. |
|
getUser ( ) : User |
Returns the PartKeeprUser based on the user token within the Symfony2 environment. |
|
getUserCount ( ) : mixed |
Returns the number of users present in the system. |
|
protect ( User $user ) |
Protects a given user against changes. |
|
syncData ( User $user ) |
Syncronizes the data of the given user with the FOSRestBundle. |
|
unprotect ( User $user ) |
Unprotects a given user against changes. |
|