package Default
inherited_from \Zend\Authentication\Adapter\AbstractAdapter

 Methods

Sets adapter options

__construct(mixed $filename = null, mixed $realm = null, mixed $identity = null, mixed $credential = null

Parameters

$filename

mixed

$realm

mixed

$identity

mixed

$credential

mixed

Defined by Zend\Authentication\Adapter\AdapterInterface

authenticate() : \Zend\Authentication\Result

Exceptions

\Zend\Authentication\Adapter\Exception\ExceptionInterface

Returns

\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\ValidatableAdapterInterface::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\ValidatableAdapterInterface::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\ValidatableAdapterInterface::setCredential()

Parameters

$credential

mixed

Returns

\Zend\Authentication\Adapter\AbstractAdapter

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\ValidatableAdapterInterface::setIdentity()

Parameters

$identity

mixed

Returns

\Zend\Authentication\Adapter\AbstractAdapter

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

 Properties

 

$credential

$credential : mixed

Default

 

Filename against which authentication queries are performed

$filename : string

Default

 

$identity

$identity : mixed

Default

 

Digest authentication realm

$realm : string

Default