Core\Authorization\Voter (Component\Security)

Symfony\Component\Security\Core\Authorization\Voter

Classes

AuthenticatedVoter AuthenticatedVoter votes if an attribute like ISAUTHENTICATEDFULLY, ISAUTHENTICATEDREMEMBERED, or ISAUTHENTICATEDANONYMOUSLY is present.
RoleHierarchyVoter RoleHierarchyVoter uses a RoleHierarchy to determine the roles granted to the user before voting.
RoleVoter RoleVoter votes if any attribute starts with a given prefix.

Interfaces

VoterInterface VoterInterface is the interface implemented by all voters.

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.3/Symfony/Component/Security/Core/Authorization/Voter.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部