AccessDecisionManagerInterface

AccessDecisionManagerInterface

interface AccessDecisionManagerInterface

AccessDecisionManagerInterface makes authorization decisions.

Methods

bool decide(TokenInterface $token, array $attributes, object $object = null)

Decides whether the access is possible or not.

Details

bool decide(TokenInterface $token, array $attributes, object $object = null)

Decides whether the access is possible or not.

Parameters

TokenInterface $token A TokenInterface instance
array $attributes An array of attributes associated with the method being invoked
object $object The object to secure

Return Value

bool true if the access is granted, false otherwise
在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部