Symfony\Component\Security\Acl\Domain\UserSecurityIdentity
A SecurityIdentity implementation used for actual users
- Author: Johannes M. Schmitt <schmittjoh@gmail.com>
Synopsis
class UserSecurityIdentity
implements
SecurityIdentityInterface
{
- // methods
- public void __construct()
- public static UserSecurityIdentity fromAccount()
- public static UserSecurityIdentity fromToken()
- public string getUsername()
- public string getClass()
- public void equals()
- public string __toString()
Hierarchy
Members
private
- $class
- $username
Methods
public
- __construct() — Constructor
- __toString() — A textual representation of this security identity.
- equals() — {@inheritDoc}
- fromAccount() — Creates a user security identity from a UserInterface
- fromToken() — Creates a user security identity from a TokenInterface
- getClass() — Returns the user's class name
- getUsername() — Returns the username