eZPublishCommunityProject  2013.4
eZ\Publish\Core\REST\Server\Authenticator\BasicAuth Class Reference

Authenticator for integration tests. More...

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

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...
 
- Public Member Functions inherited from eZ\Publish\Core\REST\Server\Authenticator
 __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 for integration tests.

This is, by now, just an untested stub.

Todo:
Test

Constructor & Destructor Documentation

eZ\Publish\Core\REST\Server\Authenticator\BasicAuth::__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\BasicAuth::authenticate ( RMF\Request  $request)

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: