From 0fadcb04ac322a82c60c76e05d66c0df2c0631d7 Mon Sep 17 00:00:00 2001 From: Kyle Powers Date: Wed, 29 Oct 2014 15:14:48 -0700 Subject: [PATCH] adding comments for OAuth2 token login --- src/driver/implementation/imap/imapstorage.h | 2 ++ src/driver/interface/maildriver.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/driver/implementation/imap/imapstorage.h b/src/driver/implementation/imap/imapstorage.h index 1322e59..fe723cd 100644 --- a/src/driver/implementation/imap/imapstorage.h +++ b/src/driver/implementation/imap/imapstorage.h @@ -69,6 +69,8 @@ extern "C" { @param login is the login of the IMAP4rev1 account. @param password is the password of the IMAP4rev1 account. + If performing OAuth2 login, use the OAuth2 token here + instead of password. @param cached if this value is != 0, a persistant cache will be stored on local system. diff --git a/src/driver/interface/maildriver.h b/src/driver/interface/maildriver.h index 6b3198e..ae75511 100644 --- a/src/driver/interface/maildriver.h +++ b/src/driver/interface/maildriver.h @@ -585,7 +585,7 @@ int mailsession_get_message_by_uid(mailsession * session, @param remote_ip_port remote IP:port (server) @param login login @param auth_name authentication name - @param password password + @param password password (or token for OAuth2 login) @param realm realm @return MAIL_NO_ERROR is returned on success, MAIL_ERROR_XXX is returned