25. Class

25.1. Zend\Authentication\Adapter\Digest

25.1.1. Methods

25.1.1.1. __construct

__construct()

Sets adapter options

Parameters:
  • mixed
  • mixed
  • mixed
  • mixed

25.1.1.2. getFilename

getFilename()

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

Return type:string|null

25.1.1.3. setFilename

setFilename()

Sets the filename option value

Parameters:mixed
Return type:Digest Provides a fluent interface

25.1.1.4. getRealm

getRealm()

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

Return type:string|null

25.1.1.5. setRealm

setRealm()

Sets the realm option value

Parameters:mixed
Return type:Digest Provides a fluent interface

25.1.1.6. getUsername

getUsername()

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

Return type:string|null

25.1.1.7. setUsername

setUsername()

Sets the username option value

Parameters:mixed
Return type:Digest Provides a fluent interface

25.1.1.8. getPassword

getPassword()

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

Return type:string|null

25.1.1.9. setPassword

setPassword()

Sets the password option value

Parameters:mixed
Return type:Digest Provides a fluent interface

25.1.1.10. authenticate

authenticate()

Defined by ZendAuthenticationAdapterAdapterInterface

Return type:AuthenticationResult

25.1.1.11. _secureStringCompare

_secureStringCompare()

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
  • string
Return type:

bool