PHP Класс Neos\Flow\Security\Authorization\RequestFilter

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$pattern Neos\Flow\Security\RequestPatternInterface
$securityInterceptor Neos\Flow\Security\Authorization\InterceptorInterface

Открытые методы

Метод Описание
__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

Описание методов

__construct() публичный Метод

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() публичный Метод

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
Результат boolean Returns TRUE if the filter matched, FALSE otherwise

getRequestPattern() публичный Метод

Returns the set request pattern
public getRequestPattern ( ) : Neos\Flow\Security\RequestPatternInterface
Результат Neos\Flow\Security\RequestPatternInterface The set request pattern

getSecurityInterceptor() публичный Метод

Returns the set security interceptor
public getSecurityInterceptor ( ) : Neos\Flow\Security\Authorization\InterceptorInterface
Результат Neos\Flow\Security\Authorization\InterceptorInterface The set security interceptor

Описание свойств

$pattern защищенное свойство

protected RequestPatternInterface,Neos\Flow\Security $pattern
Результат Neos\Flow\Security\RequestPatternInterface

$securityInterceptor защищенное свойство

protected InterceptorInterface,Neos\Flow\Security\Authorization $securityInterceptor
Результат Neos\Flow\Security\Authorization\InterceptorInterface