[dev] Renew Horde credentials for each IMP login

Michael M Slusarz slusarz at horde.org
Wed Nov 26 21:06:57 UTC 2014


Quoting SSRI <ssri_abo at u-paris2.fr>:

> Hi,
>
> We've built a custom authentication driver that provides Horde a  
> One-Time password (OTP) : this password will allow only one login to  
> IMAP server.
>
> How do you force the authentication driver to renew credentials for  
> each IMP login ? We didn't find any OTP-compatible authentication  
> driver included in Horde.

Do you mean on every IMP access?

If so, your best bet is to use the 'pushapp' hook - grab the IMP_Imap  
object using the IMP_Imap factory and set the password in the  
Horde_Imap_Client object using setParam('password', Password Object).

michael

___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the dev mailing list