Adding Oauth Authentication Support To An Imap C Library

The current available implementation of imap libraries in C/C++ (c-client, libetpan) authenticates users via the standard username,password based method.

Gmail recently launched oauth authentication support for imap access to gmail: http://code.google.com/apis/gmail/oauth/protocol.html

I want someone to work of any of the imap c libraries (preferably c-client or libetpan) and add a way to authenticate to gmail imap via the oauth keys.

You can assume that oauth token and oauth secret token will be available and you have proceed after that. The code should authenticate using oauth to gmail imap server and then fetch all message headers in the inbox.

Actually I did a implementation myself for this in php/python but it was slow for large mailboxes. I want someone to implement this in C urgently.

thanks

Leave a Reply

Your email address will not be published. Required fields are marked *