diff options
author | 2013-06-29 14:42:19 -0700 | |
---|---|---|
committer | 2013-06-29 14:42:19 -0700 | |
commit | 934f99cf96ae362b898528ef357f9af148ed01c6 (patch) | |
tree | 176e9599f8dcc4d9ce4770f3def1b7f41fdc2e95 /src/async/imap/MCIMAPAsyncConnection.cc | |
parent | d5848cbbb862ffa0b3e44e978acf042eeed63ce7 (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.cc | 10 |
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); |