final class CookieIdentity implements IIdentity

Identity used by CookieStorage

Constants

private MIN_LENGTH

Methods

__construct(string $uid)

No description

string|int
getId()

Returns the ID of user.

array
getRoles()

Returns a list of roles that the user is a member of.

array
getData()

No description

Details

at line 26
__construct(string $uid)

No description

Parameters

string $uid

at line 35
string|int getId()

Returns the ID of user.

Return Value

string|int

at line 41
array getRoles()

Returns a list of roles that the user is a member of.

Return Value

array

at line 47
array getData()

No description

Return Value

array