Zend Framework  1.12
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Zend_Auth_Adapter_Digest Class Reference

Public Member Functions

 __construct ($filename=null, $realm=null, $username=null, $password=null)
 Sets adapter options.
 
 getFilename ()
 Returns the filename option value or null if it has not yet been set.
 
 setFilename ($filename)
 Sets the filename option value.
 
 getRealm ()
 Returns the realm option value or null if it has not yet been set.
 
 setRealm ($realm)
 Sets the realm option value.
 
 getUsername ()
 Returns the username option value or null if it has not yet been set.
 
 setUsername ($username)
 Sets the username option value.
 
 getPassword ()
 Returns the password option value or null if it has not yet been set.
 
 setPassword ($password)
 Sets the password option value.
 
 authenticate ()
 Defined by Zend_Auth_Adapter_Interface.
 

Protected Member Functions

 _secureStringCompare ($a, $b)
 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.
 

Protected Attributes

 $_filename
 
 $_realm
 
 $_username
 
 $_password
 

Constructor & Destructor Documentation

__construct (   $filename = null,
  $realm = null,
  $username = null,
  $password = null 
)

Sets adapter options.

Parameters
mixed$filename
mixed$realm
mixed$username
mixed$password
Returns
void

Member Function Documentation

_secureStringCompare (   $a,
  $b 
)
protected

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.

Parameters
string$a
string$b
Returns
bool
authenticate ( )
getFilename ( )

Returns the filename option value or null if it has not yet been set.

Returns
string|null
getPassword ( )

Returns the password option value or null if it has not yet been set.

Returns
string|null
getRealm ( )

Returns the realm option value or null if it has not yet been set.

Returns
string|null
getUsername ( )

Returns the username option value or null if it has not yet been set.

Returns
string|null
setFilename (   $filename)

Sets the filename option value.

Parameters
mixed$filename
Returns
Zend_Auth_Adapter_Digest Provides a fluent interface
setPassword (   $password)

Sets the password option value.

Parameters
mixed$password
Returns
Zend_Auth_Adapter_Digest Provides a fluent interface
setRealm (   $realm)

Sets the realm option value.

Parameters
mixed$realm
Returns
Zend_Auth_Adapter_Digest Provides a fluent interface
setUsername (   $username)

Sets the username option value.

Parameters
mixed$username
Returns
Zend_Auth_Adapter_Digest Provides a fluent interface

Member Data Documentation

$_filename
protected
$_password
protected
$_realm
protected
$_username
protected