PHP 클래스 Contao\CoreBundle\Security\User\ContaoUserProvider

상속: implements Symfony\Component\Security\Core\User\UserProviderInterface, use trait Contao\CoreBundle\Framework\ScopeAwareTrait
파일 보기 프로젝트 열기: contao/core-bundle 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Contao\CoreBundle\Framework\ContaoFrameworkInterface $framework ) Constructor.
loadUserByUsername ( $username ) : BackendUser | FrontendUser
refreshUser ( Symfony\Component\Security\Core\User\UserInterface $user )
supportsClass ( $class )

비공개 메소드들

메소드 설명
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.

메소드 상세

__construct() 공개 메소드

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

loadUserByUsername() 공개 메소드

public loadUserByUsername ( $username ) : BackendUser | FrontendUser
리턴 Contao\BackendUser | Contao\FrontendUser

refreshUser() 공개 메소드

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

supportsClass() 공개 메소드

public supportsClass ( $class )