Methods

Sets adapter options

__construct(mixed $filename, mixed $realm, mixed $identity, mixed $credential) 

Parameters

$filename

mixed

$realm

mixed

$identity

mixed

$credential

mixed

Defined by Zend\Authentication\Adapter\AdapterInterface

authenticate() : \Zend\Authentication\Result

Returns the credential of the account being authenticated, or NULL if none is set.

getCredential() : mixed
Inherited

inherited_from \Zend\Authentication\Adapter\AbstractAdapter::getCredential()

Returns

mixed

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

getFilename() : string | null

Returns

stringnull

Returns the identity of the account being authenticated, or NULL if none is set.

getIdentity() : mixed
Inherited

inherited_from \Zend\Authentication\Adapter\AbstractAdapter::getIdentity()

Returns

mixed

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 credential for binding

setCredential(mixed $credential) : \Zend\Authentication\Adapter\AbstractAdapter
Inherited

inherited_from \Zend\Authentication\Adapter\AbstractAdapter::setCredential()

Parameters

$credential

mixed

Returns

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 identity for binding

setIdentity(mixed $identity) : \Zend\Authentication\Adapter\AbstractAdapter
Inherited

inherited_from \Zend\Authentication\Adapter\AbstractAdapter::setIdentity()

Parameters

$identity

mixed

Returns

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

 

$credential

$credential : mixed
Inherited

inherited_from \Zend\Authentication\Adapter\AbstractAdapter::$$credential
 

Filename against which authentication queries are performed

$filename : string

 

$identity

$identity : mixed
Inherited

inherited_from \Zend\Authentication\Adapter\AbstractAdapter::$$identity
 

Digest authentication realm

$realm : string