Auth/Adapter/Digest.php
Zend Framework
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 [email protected] 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) : voidSets adapter options
| Name | Type | Description |
|---|---|---|
| $filename | mixed | |
| $realm | mixed | |
| $username | mixed | |
| $password | mixed |

_secureStringCompare(string $a, string $b) : boolSecurely 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_ResultDefined by Zend_Auth_Adapter_Interface
| Type | Description |
|---|---|
| \Zend_Auth_Result |
| Exception | Description |
|---|---|
| \Zend_Auth_Adapter_Exception |

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

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

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

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

setFilename(mixed $filename) : \Zend_Auth_Adapter_DigestSets 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_DigestSets 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_DigestSets 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_DigestSets the username option value
| Name | Type | Description |
|---|---|---|
| $username | mixed |
| Type | Description |
|---|---|
| \Zend_Auth_Adapter_Digest | Provides a fluent interface |