Méthode | Description | |
---|---|---|
__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 | ||
Résultat | string | A string return of the User |
public getPassword ( ) : string | ||
Résultat | string | The password |
public getRoles ( ) : Role[] | ||
Résultat | Role[] | The user roles |
public getUsername ( ) : string | ||
Résultat | string | The username |