Property | Type | Description | |
---|---|---|---|
$_accessible | array | Fields that can be mass assigned using newEntity() or patchEntity(). | |
$_hidden | array | Fields that are excluded from JSON an array versions of the entity. |
Method | Description | |
---|---|---|
checkPassword ( string $password, string $hashedPassword ) : boolean | Checks if a password is correctly hashed | |
getPasswordHasher ( ) : mixed | Return the configured Password Hasher | |
hashPassword ( string $password ) : mixed | Hash a password using the configured password hasher, use DefaultPasswordHasher if no one was configured | |
tokenExpired ( ) : boolean | Returns if the token has already expired | |
updateToken ( integer $tokenExpiration ) : void | Generate token_expires and token in a user |
Method | Description | |
---|---|---|
_getAvatar ( ) : string | null | Getter for user avatar | |
_setConfirmPassword ( string $password ) : boolean | string | ||
_setPassword ( string $password ) : boolean | string | ||
_setTos ( string $tos ) : boolean |
protected _getAvatar ( ) : string | null | ||
return | string | null | avatar |
public getPasswordHasher ( ) : mixed | ||
return | mixed |
public hashPassword ( string $password ) : mixed | ||
$password | string | password to be hashed |
return | mixed |
public tokenExpired ( ) : boolean | ||
return | boolean |
public updateToken ( integer $tokenExpiration ) : void | ||
$tokenExpiration | integer | seconds to expire the token from Now |
return | void |
protected array $_accessible | ||
return | array |