Method | Description | |
---|---|---|
__construct ( Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface | Symfony\Component\Security\Core\Authentication\AuthenticationManagerInterface $tokenStorage, Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface | Symfony\Component\Security\Core\Authorization\AccessDecisionManagerInterface $authorizationChecker, boolean $alwaysAuthenticate = false ) | For backwards compatibility, the signature of sf <2.6 still works. | |
getToken ( ) | ||
isGranted ( $attributes, $object = null ) | ||
setToken ( Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token = null ) |
public __construct ( Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface | Symfony\Component\Security\Core\Authentication\AuthenticationManagerInterface $tokenStorage, Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface | Symfony\Component\Security\Core\Authorization\AccessDecisionManagerInterface $authorizationChecker, boolean $alwaysAuthenticate = false ) | ||
$tokenStorage | Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface | Symfony\Component\Security\Core\Authentication\AuthenticationManagerInterface | |
$authorizationChecker | Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface | Symfony\Component\Security\Core\Authorization\AccessDecisionManagerInterface | |
$alwaysAuthenticate | boolean | only applicable with old signature |
public setToken ( Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token = null ) | ||
$token | Symfony\Component\Security\Core\Authentication\Token\TokenInterface |