kernel/private/rest/classes/auth/auth_configuration.php

Show: inherited
Table of Contents

File containing ezpRestAuthConfiguration

Copyright
Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
License
eZ Business Use License Agreement Version 2.0  
Package
kernel  
Version
4.6.0  

\ezpRestAuthConfiguration

Package: Default

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.

Properties

Propertyprotected  $filter= 'null'
Default valuenullDetails
Type
n/a
Propertyprotected  $info= 'null'
Default valuenullDetails
Type
n/a
Propertyprotected  $req= 'null'
Default valuenullDetails
Type
n/a

Methods

methodpublic__construct(  $info,  $req ) : void

Parameters
Name Type Description
$info
$req
methodpublicfilter( ) : void

methodpublicsetFilter(  $filter ) : void

Parameters
Name Type Description
$filter
methodprivateshallAuthenticate( ) : bool

Checks if authentication should be requested or not

Returns
Type Description
bool
Documentation was generated by DocBlox 0.18.1.