PHP Class Neos\Flow\Security\Authorization\Interceptor\RequireAuthentication

It is usally used by the firewall to define secured request that need proper authentication.
Inheritance: implements Neos\Flow\Security\Authorization\InterceptorInterface
Exibir arquivo Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Property Type Description
$authenticationManager Neos\Flow\Security\Authentication\AuthenticationManagerInterface

Public Methods

Method Description
__construct ( Neos\Flow\Security\Authentication\AuthenticationManagerInterface $authenticationManager ) Constructor.
invoke ( ) : boolean Invokes the the authentication, if needed.

Method Details

__construct() public method

Constructor.
public __construct ( Neos\Flow\Security\Authentication\AuthenticationManagerInterface $authenticationManager )
$authenticationManager Neos\Flow\Security\Authentication\AuthenticationManagerInterface The authentication Manager

invoke() public method

Invokes the the authentication, if needed.
public invoke ( ) : boolean
return boolean TRUE if the security checks was passed

Property Details

$authenticationManager protected_oe property

protected AuthenticationManagerInterface,Neos\Flow\Security\Authentication $authenticationManager
return Neos\Flow\Security\Authentication\AuthenticationManagerInterface