Method | Description | |
---|---|---|
getIsGuest ( ) : boolean | ||
getName ( ) : string | ||
getRoles ( ) : array | ||
isInRole ( $role ) : boolean | ||
loadFromString ( $string ) : Prado\Security\IUser | ||
saveToString ( ) : string | ||
setIsGuest ( $value ) | ||
setName ( $value ) | ||
setRoles ( $value ) : array | string |
public loadFromString ( $string ) : Prado\Security\IUser | ||
return | Prado\Security\IUser | the user object |
public saveToString ( ) : string | ||
return | string | user data that is serialized and will be stored in session |