PHP 클래스 FOS\UserBundle\Model\UserManager

저자: Johannes M. Schmitt ([email protected])
상속: implements FOS\UserBundle\Model\UserManagerInterface, implements Symfony\Component\Security\Core\User\UserProviderInterface
파일 보기 프로젝트 열기: KnpLabs/KnpUserBundle 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$algorithm
$emailCanonicalizer
$encoderFactory
$usernameCanonicalizer

공개 메소드들

메소드 설명
__construct ( Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface $encoderFactory, string $algorithm, FOS\UserBundle\Util\CanonicalizerInterface $usernameCanonicalizer, FOS\UserBundle\Util\CanonicalizerInterface $emailCanonicalizer ) Constructor.
createUser ( ) : User Returns an empty user instance
findUserByConfirmationToken ( $token )
findUserByEmail ( string $email ) : User Finds a user by email
findUserByUsername ( string $username ) : User Finds a user by username
findUserByUsernameOrEmail ( string $usernameOrEmail ) : User Finds a user either by email, or username
loadUserByAccount ( Symfony\Component\Security\Core\User\AccountInterface $user ) : User Finds a user by account
loadUserByUsername ( string $username ) : Symfony\Component\Security\Core\User\AccountInterface Loads a user by username
supportsClass ( $class ) {@inheritDoc}
updateCanonicalFields ( FOS\UserBundle\Model\UserInterface $user ) {@inheritDoc}
updatePassword ( FOS\UserBundle\Model\UserInterface $user ) {@inheritDoc}

보호된 메소드들

메소드 설명
getEncoder ( FOS\UserBundle\Model\UserInterface $user )

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface $encoderFactory, string $algorithm, FOS\UserBundle\Util\CanonicalizerInterface $usernameCanonicalizer, FOS\UserBundle\Util\CanonicalizerInterface $emailCanonicalizer )
$encoderFactory Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface
$algorithm string
$usernameCanonicalizer FOS\UserBundle\Util\CanonicalizerInterface
$emailCanonicalizer FOS\UserBundle\Util\CanonicalizerInterface

createUser() 공개 메소드

Returns an empty user instance
public createUser ( ) : User
리턴 User

findUserByConfirmationToken() 공개 메소드

public findUserByConfirmationToken ( $token )

findUserByEmail() 공개 메소드

Finds a user by email
public findUserByEmail ( string $email ) : User
$email string
리턴 User

findUserByUsername() 공개 메소드

Finds a user by username
public findUserByUsername ( string $username ) : User
$username string
리턴 User

findUserByUsernameOrEmail() 공개 메소드

Finds a user either by email, or username
public findUserByUsernameOrEmail ( string $usernameOrEmail ) : User
$usernameOrEmail string
리턴 User

getEncoder() 보호된 메소드

protected getEncoder ( FOS\UserBundle\Model\UserInterface $user )
$user FOS\UserBundle\Model\UserInterface

loadUserByAccount() 공개 메소드

It is strongly discouraged to use this method manually as it bypasses all ACL checks.
public loadUserByAccount ( Symfony\Component\Security\Core\User\AccountInterface $user ) : User
$user Symfony\Component\Security\Core\User\AccountInterface
리턴 User

loadUserByUsername() 공개 메소드

It is strongly discouraged to call this method manually as it bypasses all ACL checks.
public loadUserByUsername ( string $username ) : Symfony\Component\Security\Core\User\AccountInterface
$username string
리턴 Symfony\Component\Security\Core\User\AccountInterface

supportsClass() 공개 메소드

{@inheritDoc}
public supportsClass ( $class )

updateCanonicalFields() 공개 메소드

{@inheritDoc}
public updateCanonicalFields ( FOS\UserBundle\Model\UserInterface $user )
$user FOS\UserBundle\Model\UserInterface

updatePassword() 공개 메소드

{@inheritDoc}
public updatePassword ( FOS\UserBundle\Model\UserInterface $user )
$user FOS\UserBundle\Model\UserInterface

프로퍼티 상세

$algorithm 보호되어 있는 프로퍼티

protected $algorithm

$emailCanonicalizer 보호되어 있는 프로퍼티

protected $emailCanonicalizer

$encoderFactory 보호되어 있는 프로퍼티

protected $encoderFactory

$usernameCanonicalizer 보호되어 있는 프로퍼티

protected $usernameCanonicalizer