PHP Class eZ\Publish\Core\REST\Server\AuthenticatingDispatcher

Inheritance: extends Qafoo\RMF\Dispatcher\Simple
Show file Open project: ezsystems/ezpublish-kernel

Protected Properties

Property Type Description
$authenticator Authenticator Authenticator.

Public Methods

Method Description
__construct ( Qafoo\RMF\Router $router, Qafoo\RMF\View $view, Authenticator $authenticator ) Creates a new authenticating dispatcher.
dispatch ( Qafoo\RMF\Request $request ) Performs authentication and dispatches the request.

Method Details

__construct() public method

Creates a new authenticating dispatcher.
public __construct ( Qafoo\RMF\Router $router, Qafoo\RMF\View $view, Authenticator $authenticator )
$router Qafoo\RMF\Router
$view Qafoo\RMF\View
$authenticator Authenticator

dispatch() public method

Performs authentication and dispatches the request.
public dispatch ( Qafoo\RMF\Request $request )
$request Qafoo\RMF\Request

Property Details

$authenticator protected property

Authenticator.
protected Authenticator,eZ\Publish\Core\REST\Server $authenticator
return Authenticator