eZ Publish Community Project (Legacy Stack) 2013.4
Class

ezpOauthRequired

class ezpOauthRequired implements ezcMvcResultStatusObject

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

Constants

DEFAULT_REALM

Properties

string $realm The realm is the unique ID to identify a login area
string $errorType The error type identifier as defined per section 5.2.1 of oauth2.0 #10
string $errorMessage An optional human-readable error message.

Methods

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

process(ezcMvcResponseWriter $writer)

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

Details

at line 39
public __construct($realm, $errorType = null, $errorMessage = null)

Parameters

$realm
$errorType
$errorMessage

at line 51
public process(ezcMvcResponseWriter $writer)

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

Parameters

ezcMvcResponseWriter $writer