Path

ez components / documentation / api reference / 2009.1.1 / mvctools


eZ Components 2009.1.1

MvcTools: ezcMvcResultUnauthorized

[ Tutorial ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcMvcResultUnauthorized

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

Implemented Interfaces

Member Variables

public string $realm
The realm is the unique ID to identify a login area

Method Summary

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.

Methods

__construct

ezcMvcResultUnauthorized __construct( string $realm )
Constructs an ezcMvcResultUnauthorized object for $realm

Parameters

Name Type Description
$realm string  

process

void process( ezcMvcResponseWriter $writer )
Uses the passed in $writer to set the HTTP authentication header.

Parameters

Name Type Description
$writer ezcMvcResponseWriter  

Last updated: Mon, 27 Jul 2009