PHP Class Contao\CoreBundle\Security\Authentication\ContaoToken

Inheritance: extends Symfony\Component\Security\Core\Authentication\Token\AbstractToken
ファイルを表示 Open project: contao/core-bundle Class Usage Examples

Public Methods

Method Description
__construct ( User $user ) Constructor.
getCredentials ( )

Private Methods

Method Description
getRolesFromUser ( User $user ) : Symfony\Component\Security\Core\Role\RoleInterface[] Returns the roles depending on the user object.

Method Details

__construct() public method

Constructor.
public __construct ( User $user )
$user Contao\User

getCredentials() public method

public getCredentials ( )