Path

ez components / documentation / api reference / 2009.2 / webdav


eZ Components 2009.2

Webdav: ezcWebdavDigestAuthenticator

[ Tutorial ] [ Clients ] [ Plugin architecture ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Interface: ezcWebdavDigestAuthenticator

Interface for Digest authentication mechanism. [source]
This interface must be implemented by objects that provide authentication through a username/password combination, as defined by the HTTP Digest authentication method.
An instance of a class implementing this interface may be used in the ezcWebdavServer $auth property. The WebDAV server will then use this instance to perform authentication. In addition, classes may implement ezcWebdavBasicAuthenticator and are highly recommended to do so.

Parents

ezcWebdavAnonymousAuthenticator
   |
   --ezcWebdavBasicAuthenticator
      |
      --ezcWebdavDigestAuthenticator

Method Summary

public bool authenticateDigest( $data )
Checks authentication for the given $data.

Inherited Methods

From ezcWebdavBasicAuthenticator :
public bool ezcWebdavBasicAuthenticator::authenticateBasic()
Checks authentication for the given $user.
From ezcWebdavAnonymousAuthenticator :
public bool ezcWebdavAnonymousAuthenticator::authenticateAnonymous()
Checks authentication for the anonymous user.

Methods

authenticateDigest

bool authenticateDigest( ezcWebdavDigestAuth $data )
Checks authentication for the given $data.
This method performs authentication as defined by the HTTP Digest authentication mechanism. The received struct contains all information necessary.
If authentication succeeded true is returned, otherwise false.

Parameters

Name Type Description
$data ezcWebdavDigestAuth  

Last updated: Mon, 21 Dec 2009