PHP Class Neos\Flow\Security\Authorization\RequestFilter

Afficher le fichier Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Свойство Type Description
$pattern Neos\Flow\Security\RequestPatternInterface
$securityInterceptor Neos\Flow\Security\Authorization\InterceptorInterface

Méthodes publiques

Méthode Description
__construct ( Neos\Flow\Security\RequestPatternInterface $pattern, Neos\Flow\Security\Authorization\InterceptorInterface $securityInterceptor ) Constructor.
filterRequest ( Neos\Flow\Mvc\RequestInterface $request ) : boolean Tries to match the given request against this filter and calls the set security interceptor on success.
getRequestPattern ( ) : Neos\Flow\Security\RequestPatternInterface Returns the set request pattern
getSecurityInterceptor ( ) : Neos\Flow\Security\Authorization\InterceptorInterface Returns the set security interceptor

Method Details

__construct() public méthode

Constructor.
public __construct ( Neos\Flow\Security\RequestPatternInterface $pattern, Neos\Flow\Security\Authorization\InterceptorInterface $securityInterceptor )
$pattern Neos\Flow\Security\RequestPatternInterface The pattern this filter matches
$securityInterceptor Neos\Flow\Security\Authorization\InterceptorInterface The interceptor called on pattern match

filterRequest() public méthode

Tries to match the given request against this filter and calls the set security interceptor on success.
public filterRequest ( Neos\Flow\Mvc\RequestInterface $request ) : boolean
$request Neos\Flow\Mvc\RequestInterface The request to be matched
Résultat boolean Returns TRUE if the filter matched, FALSE otherwise

getRequestPattern() public méthode

Returns the set request pattern
public getRequestPattern ( ) : Neos\Flow\Security\RequestPatternInterface
Résultat Neos\Flow\Security\RequestPatternInterface The set request pattern

getSecurityInterceptor() public méthode

Returns the set security interceptor
public getSecurityInterceptor ( ) : Neos\Flow\Security\Authorization\InterceptorInterface
Résultat Neos\Flow\Security\Authorization\InterceptorInterface The set security interceptor

Property Details

$pattern protected_oe property

protected RequestPatternInterface,Neos\Flow\Security $pattern
Résultat Neos\Flow\Security\RequestPatternInterface

$securityInterceptor protected_oe property

protected InterceptorInterface,Neos\Flow\Security\Authorization $securityInterceptor
Résultat Neos\Flow\Security\Authorization\InterceptorInterface