From 934f99cf96ae362b898528ef357f9af148ed01c6 Mon Sep 17 00:00:00 2001 From: "Hoa V. DINH" Date: Sat, 29 Jun 2013 14:42:19 -0700 Subject: Support of OAuth2 on C++ layer. Also reindent code. --- src/async/imap/MCIMAPAsyncConnection.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/async/imap/MCIMAPAsyncConnection.cc') 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); -- cgit v1.2.3