kernel/private/rest/classes/auth/styles/no_auth.php

Show: inherited
Table of Contents

File containing ezpRestNoAuthStyle class

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  

\ezpRestNoAuthStyle

Package: Default

This auth style is used when no authentication is required for current REST request A default user will be returned. UserID to use has to be set in rest.ini/[Authentication].DefaultUserID (fallback is anonymous user)

Parent(s)
\ezpRestAuthenticationStyleInterface
Copyright
Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
Version
4.6.0  

Properties

Propertyprotectedstring  $prefix= ''
inherited

Current prefix for REST requests, to be used in case of internal redirects

Inherited from: \ezpRestAuthenticationStyle::$$prefix
Details
Type
string
Inherited_from
\ezpRestAuthenticationStyle::$$prefix  
Propertyprotected\eZuser  $user= ''
inherited

Authenticated user

Inherited from: \ezpRestAuthenticationStyle::$$user
Details
Type
\eZuser
Inherited_from
\ezpRestAuthenticationStyle::$$user  

Methods

methodpublic__construct( ) : void
inherited

Inherited from: \ezpRestAuthenticationStyle::__construct()
methodpublicauthenticate(  $auth,  $request ) : void

Parameters
Name Type Description
$auth
$request
Details
See
\ezpRestAuthenticationStyleInterface::authenticate()  
methodpublicgetUser( ) : void
inherited

Inherited from: \ezpRestAuthenticationStyle::getUser()
methodpublicsetUser(  $user ) : void
inherited

Inherited from: \ezpRestAuthenticationStyle::setUser()
Parameters
Name Type Description
$user
Details
See
\ezpRestAuthenticationStyleInterface::setUser()  
methodpublicsetup(  $request ) : void

Parameters
Name Type Description
$request
Details
See
\ezpRestAuthenticationStyleInterface::setup()  
Documentation was generated by DocBlox 0.18.1.