aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/async/imap/MCIMAPAsyncConnection.cc
diff options
context:
space:
mode:
authorGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2013-06-29 14:42:19 -0700
committerGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2013-06-29 14:42:19 -0700
commit934f99cf96ae362b898528ef357f9af148ed01c6 (patch)
tree176e9599f8dcc4d9ce4770f3def1b7f41fdc2e95 /src/async/imap/MCIMAPAsyncConnection.cc
parentd5848cbbb862ffa0b3e44e978acf042eeed63ce7 (diff)
Support of OAuth2 on C++ layer. Also reindent code.
Diffstat (limited to 'src/async/imap/MCIMAPAsyncConnection.cc')
-rw-r--r--src/async/imap/MCIMAPAsyncConnection.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/async/imap/MCIMAPAsyncConnection.cc b/src/async/imap/MCIMAPAsyncConnection.cc
index a4244ed3..fc1935b7 100644
--- a/src/async/imap/MCIMAPAsyncConnection.cc
+++ b/src/async/imap/MCIMAPAsyncConnection.cc
@@ -146,6 +146,16 @@ String * IMAPAsyncConnection::password()
return mSession->password();
}
+void IMAPAsyncConnection::setOAuth2Token(String * token)
+{
+ mSession->setOAuth2Token(token);
+}
+
+String * IMAPAsyncConnection::OAuth2Token()
+{
+ return mSession->OAuth2Token();
+}
+
void IMAPAsyncConnection::setAuthType(AuthType authType)
{
mSession->setAuthType(authType);