\Zend_Auth_Adapter_Digest
- Copyright: Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
- License: http://framework.zend.com/license/new-bsd New BSD License
Synopsis
class Zend_Auth_Adapter_Digest
implements
Zend_Auth_Adapter_Interface
{
- // members
- protected $_filename;
- protected $_realm;
- protected $_username;
- protected $_password;
- // methods
- public void __construct()
- public string|null getFilename()
- public Zend_Auth_Adapter_Digest setFilename()
- public string|null getRealm()
- public Zend_Auth_Adapter_Digest setRealm()
- public string|null getUsername()
- public Zend_Auth_Adapter_Digest setUsername()
- public string|null getPassword()
- public Zend_Auth_Adapter_Digest setPassword()
- public Zend_Auth_Result authenticate()
- protected bool _secureStringCompare()
Hierarchy
Implements
Members
protected
- $_filename
—
string
Filename against which authentication queries are performed - $_password
—
string
Password for the user of the realm - $_realm
—
string
Digest authentication realm - $_username
—
string
Digest authentication user
Methods
protected
- _secureStringCompare() — Securely compare two strings for equality while avoided C level memcmp() optimisations capable of leaking timing information useful to an attacker attempting to iteratively guess the unknown string (e.g. password) being compared against.
public
- __construct() — Sets adapter options
- authenticate() — Defined by Zend_Auth_Adapter_Interface
- getFilename() — Returns the filename option value or null if it has not yet been set
- getPassword() — Returns the password option value or null if it has not yet been set
- getRealm() — Returns the realm option value or null if it has not yet been set
- getUsername() — Returns the username option value or null if it has not yet been set
- setFilename() — Sets the filename option value
- setPassword() — Sets the password option value
- setRealm() — Sets the realm option value
- setUsername() — Sets the username option value