The 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.
<?php
$adapter = new Zend_Auth_Adapter_Digest($filename,
$realm,
$username,
$password);
$result = $adapter->authenticate();
$identity = $result->getIdentity();
print_r($identity);
/*
Array
(
[realm] => Some Realm
[username] => someUser
)
*/




