This result type is used to signal a HTTP basic auth header
Source for this file: /MvcTools/src/result_types/unauthorized.php
Version: | //autogentag// |
public string |
$realm
The realm is the unique ID to identify a login area |
public ezcMvcResultUnauthorized |
__construct(
$realm
)
Constructs an ezcMvcResultUnauthorized object for $realm |
public void |
process(
$writer
)
Uses the passed in $writer to set the HTTP authentication header. |
Constructs an ezcMvcResultUnauthorized object for $realm
Name | Type | Description |
---|---|---|
$realm |
string |
Uses the passed in $writer to set the HTTP authentication header.
Name | Type | Description |
---|---|---|
$writer |
ezcMvcResponseWriter |
Method | Description |
---|---|
ezcMvcResultStatusObject::process() |
This method is called by the response writers to process the data contained in the status objects. |