Digest AuthenticationIntroduction» Digest authentication is a method of HTTP authentication that improves upon » Basic authentication by providing a way to authenticate without having to transmit the password in clear text across the network. This adapter allows authentication against text files containing lines having the basic elements of Digest authentication:
The above elements are separated by colons, as in the following example (in which the password is "somePassword"):
SpecificsThe digest authentication adapter, Zend_Auth_Adapter_Digest, requires several input parameters:
These parameters must be set prior to calling authenticate(). IdentityThe digest authentication adapter returns a Zend_Auth_Result object, which has been populated with the identity as an array having keys of realm and username. The respective array values associated with these keys correspond to the values set before authenticate() is called.
|