PHP Class Contao\CoreBundle\Security\User\ContaoUserProvider

Inheritance: implements Symfony\Component\Security\Core\User\UserProviderInterface, use trait Contao\CoreBundle\Framework\ScopeAwareTrait
Afficher le fichier Open project: contao/core-bundle Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( Contao\CoreBundle\Framework\ContaoFrameworkInterface $framework ) Constructor.
loadUserByUsername ( $username ) : BackendUser | FrontendUser
refreshUser ( Symfony\Component\Security\Core\User\UserInterface $user )
supportsClass ( $class )

Private Methods

Méthode Description
isBackendUsername ( string $username ) : boolean Checks if the given username can be mapped to a back end user.
isFrontendUsername ( string $username ) : boolean Checks if the given username can be mapped to a front end user.

Method Details

__construct() public méthode

Constructor.
public __construct ( Contao\CoreBundle\Framework\ContaoFrameworkInterface $framework )
$framework Contao\CoreBundle\Framework\ContaoFrameworkInterface

loadUserByUsername() public méthode

public loadUserByUsername ( $username ) : BackendUser | FrontendUser
Résultat Contao\BackendUser | Contao\FrontendUser

refreshUser() public méthode

public refreshUser ( Symfony\Component\Security\Core\User\UserInterface $user )
$user Symfony\Component\Security\Core\User\UserInterface

supportsClass() public méthode

public supportsClass ( $class )