category Zend
package Zend_Authentication
subpackage Adapter

 Methods

Sets adapter options

__construct(mixed $filename, mixed $realm, mixed $username, mixed $password) 

Parameters

$filename

mixed

$realm

mixed

$username

mixed

$password

mixed

Defined by Zend\Authentication\Adapter\AdapterInterface

authenticate() : \Zend\Authentication\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\Authentication\Adapter\Digest

Parameters

$filename

mixed

Returns

\Zend\Authentication\Adapter\DigestProvides a fluent interface

Sets the password option value

setPassword(mixed $password) : \Zend\Authentication\Adapter\Digest

Parameters

$password

mixed

Returns

\Zend\Authentication\Adapter\DigestProvides a fluent interface

Sets the realm option value

setRealm(mixed $realm) : \Zend\Authentication\Adapter\Digest

Parameters

$realm

mixed

Returns

\Zend\Authentication\Adapter\DigestProvides a fluent interface

Sets the username option value

setUsername(mixed $username) : \Zend\Authentication\Adapter\Digest

Parameters

$username

mixed

Returns

\Zend\Authentication\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.

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

password) being compared against.

Parameters

$a

string

$b

string

Returns

bool

 Properties

 

Filename against which authentication queries are performed

$filename : string

 

Password for the user of the realm

$password : string

 

Digest authentication realm

$realm : string

 

Digest authentication user

$username : string