eZPublishCommunityProject  2013.6
eZ\Publish\Core\REST\Server\Authenticator Class Reference

Authenticator base class. More...

+ Inheritance diagram for eZ\Publish\Core\REST\Server\Authenticator:

Public Member Functions

 __construct (Repository $repository)
 Creates an new Authenticator to $repository. More...
 
 authenticate (RMF\Request $request)
 Authenticates the user based on the given request. More...
 

Detailed Description

Authenticator base class.

Constructor & Destructor Documentation

eZ\Publish\Core\REST\Server\Authenticator::__construct ( Repository  $repository)

Creates an new Authenticator to $repository.

Parameters
\eZ\Publish\API\Repository\Repository$repository

Member Function Documentation

eZ\Publish\Core\REST\Server\Authenticator::authenticate ( RMF\Request  $request)
abstract

Authenticates the user based on the given request.

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.

Parameters
RMF\Request$request
Returns
boolean

The documentation for this class was generated from the following file: