PHP Class eZ\Publish\Core\REST\Server\Authenticator\BasicAuth

This is, by now, just an untested stub.
Inheritance: extends eZ\Publish\Core\REST\Server\Authenticator
ファイルを表示 Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
__construct ( eZ\Publish\API\Repository\Repository $repository ) Creates an new Authenticator to $repository.
authenticate ( Qafoo\RMF\Request $request ) : boolean Authenticates the user based on the given request.

Method Details

__construct() public method

Creates an new Authenticator to $repository.
public __construct ( eZ\Publish\API\Repository\Repository $repository )
$repository eZ\Publish\API\Repository\Repository

authenticate() public method

Performs an authentication based on the given $request and sets the authenticated user into the $repository. Returns true on success, false of authentication was not possible or did not succeed.
public authenticate ( Qafoo\RMF\Request $request ) : boolean
$request Qafoo\RMF\Request
return boolean