Re: XOAUTH2 support
Stefan Krah <[email protected]>
| Newsgroups | gmane.mail.getmail.user |
|---|---|
| Message-ID | <[email protected]> |
One last thing, then I'll shut up. :-)
Perhaps it would be possible to add an authstring_command support instead
of a specific XOAUTH2 one.
That way, if web companies decide that QUUXAUTH42.0 is the the way of the
future, the external commmand could be adapted.
Example getmailrc
-----------------
auth_command = 'XOAUTH2'
authstring_command = ("/home/user/.getmail/getauthstring.py",)
use_authstring = True
_retrieverbases.py:
-------------------
...
elif self.conf['use_authstring']:
self.conn.authenticate(self.conf['auth_command'], lambda _: self.conf['authstring'])
....
Stefan Krah