eZPublishCommunityProject(LegacyStack)  2013.9
ezpOauthRequired Class Reference

This result type is used to signal a HTTP basic auth header. More...

+ Inheritance diagram for ezpOauthRequired:
+ Collaboration diagram for ezpOauthRequired:

Public Member Functions

 __construct ($realm, $errorType=null, $errorMessage=null)
 
 process (ezcMvcResponseWriter $writer)
 Uses the passed in $writer to set the HTTP authentication header. More...
 

Public Attributes

 $errorMessage
 
 $errorType
 
 $realm
 
const DEFAULT_REALM = 'eZ Publish REST'
 

Protected Member Functions

 createErrorString ()
 Creates for use in authentcation challenge header. More...
 

Detailed Description

This result type is used to signal a HTTP basic auth header.

Constructor & Destructor Documentation

ezpOauthRequired::__construct (   $realm,
  $errorType = null,
  $errorMessage = null 
)

Member Function Documentation

ezpOauthRequired::createErrorString ( )
protected

Creates for use in authentcation challenge header.

Returns
string
ezpOauthRequired::process ( ezcMvcResponseWriter  $writer)

Uses the passed in $writer to set the HTTP authentication header.

Parameters
ezcMvcResponseWriter$writer

Member Data Documentation

ezpOauthRequired::$errorMessage

Referenced by __construct(), and process().

ezpOauthRequired::$errorType

Referenced by __construct().

ezpOauthRequired::$realm

Referenced by __construct().

const ezpOauthRequired::DEFAULT_REALM = 'eZ Publish REST'

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