AuthorizationCheckerInterface
interface AuthorizationCheckerInterface
The AuthorizationCheckerInterface.
Methods
bool | isGranted(mixed $attributes, mixed $subject = null) Checks if the attributes are granted against the current authentication token and optionally supplied subject. |
Details
bool isGranted(mixed $attributes, mixed $subject = null)
Checks if the attributes are granted against the current authentication token and optionally supplied subject.
Parameters
mixed | $attributes | |
mixed | $subject |
Return Value
bool |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Security/Core/Authorization/AuthorizationCheckerInterface.html