PHP 인터페이스 Symfony\Component\Security\User\AccountInterface

저자: Fabien Potencier ([email protected])
파일 보기 프로젝트 열기: pmjones/php-framework-benchmarks 0 사용 예제들

공개 메소드들

메소드 설명
__toString ( ) : string Returns a string representation of the User.
eraseCredentials ( ) Removes sensitive data from the user.
getPassword ( ) : string Returns the password used to authenticate the user.
getRoles ( ) : Role[] Returns the roles granted to the user.
getSalt ( ) : string Returns the salt.
getUsername ( ) : string Returns the username used to authenticate the user.

메소드 상세

__toString() 공개 메소드

Returns a string representation of the User.
public __toString ( ) : string
리턴 string A string return of the User

eraseCredentials() 공개 메소드

Removes sensitive data from the user.
public eraseCredentials ( )

getPassword() 공개 메소드

Returns the password used to authenticate the user.
public getPassword ( ) : string
리턴 string The password

getRoles() 공개 메소드

Returns the roles granted to the user.
public getRoles ( ) : Role[]
리턴 Role[] The user roles

getSalt() 공개 메소드

Returns the salt.
public getSalt ( ) : string
리턴 string The salt

getUsername() 공개 메소드

Returns the username used to authenticate the user.
public getUsername ( ) : string
리턴 string The username