PHP Class ManaPHP\Authentication\UserIdentity

Inheritance: implements ManaPHP\Authentication\UserIdentityInterface
Show file Open project: manaphp/manaphp

Protected Properties

Property Type Description
$_roleId string
$_roleName string
$_userId string
$_userName string

Public Methods

Method Description
__construct ( array $options = [] ) UserIdentity constructor.
getId ( ) : string
getName ( ) : string
getRoleId ( ) : integer
getRoleName ( ) : string

Method Details

__construct() public method

UserIdentity constructor.
public __construct ( array $options = [] )
$options array

getId() public method

public getId ( ) : string
return string

getName() public method

public getName ( ) : string
return string

getRoleId() public method

public getRoleId ( ) : integer
return integer

getRoleName() public method

public getRoleName ( ) : string
return string

Property Details

$_roleId protected property

protected string $_roleId
return string

$_roleName protected property

protected string $_roleName
return string

$_userId protected property

protected string $_userId
return string

$_userName protected property

protected string $_userName
return string