category Zend
package Zend_Auth
subpackage Adapter
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License

 Methods

Sets adapter options

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

Parameters

$filename

mixed

$realm

mixed

$username

mixed

$password

mixed

Defined by Zend_Auth_Adapter_Interface

authenticate() : \Zend_Auth_Result
inherited_from \Zend_Auth_Adapter_Interface::authenticate()

Exceptions

\Zend_Auth_Adapter_Exception

Returns

\Zend_Auth_Result

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

getFilename() : string | null

Returns

stringnull

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

getPassword() : string | null

Returns

stringnull

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

getRealm() : string | null

Returns

stringnull

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

getUsername() : string | null

Returns

stringnull

Sets the filename option value

setFilename(mixed $filename) : \Zend_Auth_Adapter_Digest

Parameters

$filename

mixed

Returns

\Zend_Auth_Adapter_DigestProvides a fluent interface

Sets the password option value

setPassword(mixed $password) : \Zend_Auth_Adapter_Digest

Parameters

$password

mixed

Returns

\Zend_Auth_Adapter_DigestProvides a fluent interface

Sets the realm option value

setRealm(mixed $realm) : \Zend_Auth_Adapter_Digest

Parameters

$realm

mixed

Returns

\Zend_Auth_Adapter_DigestProvides a fluent interface

Sets the username option value

setUsername(mixed $username) : \Zend_Auth_Adapter_Digest

Parameters

$username

mixed

Returns

\Zend_Auth_Adapter_DigestProvides a fluent interface

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.

_secureStringCompare(string $a, string $b) : boolean

Parameters

$a

string

$b

string

Returns

boolean

 Properties

 

Filename against which authentication queries are performed

$_filename : string

Default

 

Password for the user of the realm

$_password : string

Default

 

Digest authentication realm

$_realm : string

Default

 

Digest authentication user

$_username : string

Default