PHP Interface Neos\Flow\Security\Authorization\AfterInvocationManagerInterface

Mostra file Open project: neos/flow-development-collection

Public Methods

Method Description
process ( Context $securityContext, object $object, Neos\Flow\Aop\JoinPointInterface $joinPoint ) : boolean Processes the given return object. May throw an security exception or filter the result depending on the current user rights.
supports ( string $className ) : boolean Returns TRUE if this after invocation processor can process return objects of the given class name

Method Details

process() public method

Processes the given return object. May throw an security exception or filter the result depending on the current user rights.
public process ( Context $securityContext, object $object, Neos\Flow\Aop\JoinPointInterface $joinPoint ) : boolean
$securityContext Neos\Flow\Security\Context The current security context
$object object The return object to be processed
$joinPoint Neos\Flow\Aop\JoinPointInterface The joinpoint of the returning method
return boolean TRUE if access is granted, FALSE if the manager abstains from decision

supports() public method

Returns TRUE if this after invocation processor can process return objects of the given class name
public supports ( string $className ) : boolean
$className string The class name that should be checked
return boolean TRUE if this access decision manager can decide on objects with the given class name