PHP 클래스 Sulu\Component\Security\Authorization\SecurityChecker

상속: extends AbstractSecurityChecker
파일 보기 프로젝트 열기: sulu/sulu

공개 메소드들

메소드 설명
__construct ( Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface $authorizationChecker )
hasPermission ( $subject, $permission )

메소드 상세

__construct() 공개 메소드

public __construct ( Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface $authorizationChecker )
$tokenStorage Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface
$authorizationChecker Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface

hasPermission() 공개 메소드

public hasPermission ( $subject, $permission )