메소드 | 설명 | |
---|---|---|
__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. |
public __toString ( ) : string | ||
리턴 | string | A string return of the User |
public getPassword ( ) : string | ||
리턴 | string | The password |
public getRoles ( ) : Role[] | ||
리턴 | Role[] | The user roles |
public getUsername ( ) : string | ||
리턴 | string | The username |