eZPublishCommunityProject(LegacyStack)  2013.6
ezpRestAuthConfiguration Class Reference

Class controlling authentication inside REST layer. More...

Public Member Functions

 __construct (ezcMvcRoutingInformation $info, ezpRestRequest $req)
 
 filter ()
 
 setFilter (ezpRestAuthenticationStyle $filter)
 

Protected Attributes

 $filter = null
 
 $info = null
 
 $req = null
 

Private Member Functions

 shallAuthenticate ()
 Checks if authentication should be requested or not. More...
 

Detailed Description

Class controlling authentication inside REST layer.

This class sets up the defaults for which routes require auth and which can be omitted. This class acts as a compatibility bridge between the REST- layer and the traditional eZ Publish permission configuration.

Constructor & Destructor Documentation

ezpRestAuthConfiguration::__construct ( ezcMvcRoutingInformation  $info,
ezpRestRequest  $req 
)

Member Function Documentation

ezpRestAuthConfiguration::filter ( )

Referenced by setFilter().

ezpRestAuthConfiguration::setFilter ( ezpRestAuthenticationStyle  $filter)
ezpRestAuthConfiguration::shallAuthenticate ( )
private

Checks if authentication should be requested or not.

Returns
bool

Referenced by filter().

Member Data Documentation

ezpRestAuthConfiguration::$filter = null
protected

Referenced by setFilter().

ezpRestAuthConfiguration::$info = null
protected

Referenced by __construct().

ezpRestAuthConfiguration::$req = null
protected

Referenced by __construct().


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