protected function _getAuthCredentials($app)
{
global $session;
$base_app = $session->get('horde', 'auth/credentials');
if (is_null($base_app)) {
return false;
}
if (is_null($app)) {
$app = $base_app;
}
if (!$session->exists('horde', 'auth_app/' . $app)) {
return $base_app != $app ? $this->_getAuthCredentials($base_app) : false;
}
return $session->get('horde', 'auth_app/' . $app);
}