[dev] Authenticated and "logged in"

Jan Schneider jan at horde.org
Fri May 25 10:23:12 UTC 2012


Zitat von Ralf Lang <lang at b1-systems.de>:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> today a horde installation interfaces with the outside world through
> RPC requests, webdav, resource-specific protocols and all sorts of
> api. How can I differentiate between a user who is "logged in" (began
> a horde UI session) or is just currently authenticated (for sync, data
> access or the likes) ?

You can't, because there *is* not difference, at least from Horde's  
POV. The best you could do is to look into the User-Agent stored in  
the user's session. But not all RPC request use a persistent session,  
ActiveSync for example doesn't.

-- 
Jan Schneider
The Horde Project
http://www.horde.org/




More information about the dev mailing list