Child classes:
- Sabre_DAV_Auth_Backend_AbstractDigest
- HTTP Digest authentication backend class
- Sabre_DAV_Auth_MockBackend
- This is the base class for any authentication object.
Inherited Variables
Inherited Constants
Inherited Methods
Class Details
This is the base class for any authentication object.
Tags:
- author - Evert Pot (http://www.rooftopsolutions.nl/)
- copyright - Copyright (C) 2007-2010 Rooftop Solutions. All rights reserved.
- abstract -
- license - Modified BSD License
[ Top ]
Class Variables
Class Methods
authenticate
bool authenticate(
Sabre_DAV_Server
$server,
$realm)
[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.
Tags:
- abstract -
- access - public
Overridden in child classes as:
- Sabre_DAV_Auth_Backend_AbstractDigest::authenticate()
- Authenticates the user based on the current request.
Parameters:
- Sabre_DAV_Server $server -
- $realm -
[ Top ]
getCurrentUser
array|null getCurrentUser(
)
[line 31]
Returns information about the currently logged in user.
If nobody is currently logged in, this method should return null.
Tags:
- abstract -
- access - public
Overridden in child classes as:
- Sabre_DAV_Auth_Backend_AbstractDigest::getCurrentUser()
- Returns information about the currently logged in user.
Parameters:
[ Top ]
getUsers
array 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.
Tags:
- access - public
Overridden in child classes as:
- Sabre_DAV_Auth_Backend_File::getUsers()
- Returns the full list of users.
- Sabre_DAV_Auth_Backend_PDO::getUsers()
- Returns a list of all users
- Webcal_Sabre_DAV_Auth_Backend_PDO::getUsers()
- Returns a list of all users
Parameters:
[ Top ]