eZPublishCommunityProject(LegacyStack)  2013.6
ezpRestBasicAuthStyle Class Reference
+ Inheritance diagram for ezpRestBasicAuthStyle:
+ Collaboration diagram for ezpRestBasicAuthStyle:

Public Member Functions

 authenticate (ezcAuthentication $auth, ezcMvcRequest $request)
 Method to be run inside the runRequestFilters hook inside MvcTools. More...
 
 setup (ezcMvcRequest $request)
 Setting up the state to allow for later authentcation checks. More...
 
- Public Member Functions inherited from ezpRestAuthenticationStyle
 __construct ()
 
 getUser ()
 
 setUser (eZUser $user)
 
- Public Member Functions inherited from ezpRestAuthenticationStyleInterface
 getUser ()
 Returns valid eZPublish user that has been authenticated by self::authenticate(). More...
 
 setUser (eZUser $user)
 Registers the user that has been authenticated. More...
 

Additional Inherited Members

- Protected Attributes inherited from ezpRestAuthenticationStyle
 $prefix
 
 $user
 

Member Function Documentation

ezpRestBasicAuthStyle::authenticate ( ezcAuthentication  $auth,
ezcMvcRequest  $request 
)

Method to be run inside the runRequestFilters hook inside MvcTools.

This method should take care of seting up proper redirections to MvcTools

Returns
eZUser|ezcMvcInternalRedirect

Implements ezpRestAuthenticationStyleInterface.

ezpRestBasicAuthStyle::setup ( ezcMvcRequest  $request)

Setting up the state to allow for later authentcation checks.

Parameters
ezcMvcRequest$request
Returns
void

Implements ezpRestAuthenticationStyleInterface.


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