Auth/Adapter/Digest.php
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Auth
- Subpackage
- Adapter
- Version
- $Id: Digest.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Auth_Adapter_Digest
- Implements
- \Zend_Auth_Adapter_Interface
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
Methods


__construct(mixed $filename = null, mixed $realm = null, mixed $username = null, mixed $password = null) : void
Sets adapter options
Name | Type | Description |
---|---|---|
$filename | mixed | |
$realm | mixed | |
$username | mixed | |
$password | mixed |


_secureStringCompare(string $a, string $b) : bool
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.
Name | Type | Description |
---|---|---|
$a | string | |
$b | string |
Type | Description |
---|---|
bool |


authenticate() : \Zend_Auth_Result
Defined by Zend_Auth_Adapter_Interface
Type | Description |
---|---|
\Zend_Auth_Result |
Exception | Description |
---|---|
\Zend_Auth_Adapter_Exception |


getFilename() : string | null
Returns the filename option value or null if it has not yet been set
Type | Description |
---|---|
string | null |


getPassword() : string | null
Returns the password option value or null if it has not yet been set
Type | Description |
---|---|
string | null |


getRealm() : string | null
Returns the realm option value or null if it has not yet been set
Type | Description |
---|---|
string | null |


getUsername() : string | null
Returns the username option value or null if it has not yet been set
Type | Description |
---|---|
string | null |


setFilename(mixed $filename) : \Zend_Auth_Adapter_Digest
Sets the filename option value
Name | Type | Description |
---|---|---|
$filename | mixed |
Type | Description |
---|---|
\Zend_Auth_Adapter_Digest | Provides a fluent interface |


setPassword(mixed $password) : \Zend_Auth_Adapter_Digest
Sets the password option value
Name | Type | Description |
---|---|---|
$password | mixed |
Type | Description |
---|---|
\Zend_Auth_Adapter_Digest | Provides a fluent interface |


setRealm(mixed $realm) : \Zend_Auth_Adapter_Digest
Sets the realm option value
Name | Type | Description |
---|---|---|
$realm | mixed |
Type | Description |
---|---|
\Zend_Auth_Adapter_Digest | Provides a fluent interface |


setUsername(mixed $username) : \Zend_Auth_Adapter_Digest
Sets the username option value
Name | Type | Description |
---|---|---|
$username | mixed |
Type | Description |
---|---|
\Zend_Auth_Adapter_Digest | Provides a fluent interface |