Class Sabre_DAV_Auth_Backend_Abstract

Description

This is the base class for any authentication object.

  • author: Evert Pot (http://www.rooftopsolutions.nl/)
  • copyright: Copyright (C) 2007-2010 Rooftop Solutions. All rights reserved.
  • abstract:
  • license: Modified BSD License

Located in /sources_custom/Sabre/DAV/Auth/Backend/Abstract.php (line 12)


	
			
Direct descendents
Class Description
Sabre_DAV_Auth_Backend_AbstractBasic HTTP Basic authentication backend class
Sabre_DAV_Auth_Backend_AbstractDigest HTTP Digest authentication backend class
Sabre_DAV_Auth_Backend_Apache Apache authenticator
Method Summary
bool authenticate (Sabre_DAV_Server $server,  $realm)
array|null getCurrentUser ()
array getUsers ()
Methods
authenticate (line 22)

Authenticates the user based on the current request.

If authentication is succesful, true must be returned. If authentication fails, an exception must be thrown.

  • abstract:
  • access: public
bool authenticate (Sabre_DAV_Server $server,  $realm)

Redefined in descendants as:
getCurrentUser (line 31)

Returns information about the currently logged in user.

If nobody is currently logged in, this method should return null.

  • abstract:
  • access: public
array|null getCurrentUser ()

Redefined in descendants as:
getUsers (line 42)

Returns the full list of users.

This method must at least return a uri for each user.

It is optional to implement this.

  • access: public
array getUsers ()

Redefined in descendants as:

Documentation generated on Sun, 02 Jan 2011 23:06:50 +0000 by phpDocumentor 1.4.3