mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-25 18:22:59 +02:00
SMTPClientSession: added support for XOAUTH2 authentication
This commit is contained in:
@@ -52,7 +52,8 @@ public:
|
||||
AUTH_CRAM_MD5,
|
||||
AUTH_CRAM_SHA1,
|
||||
AUTH_LOGIN,
|
||||
AUTH_PLAIN
|
||||
AUTH_PLAIN,
|
||||
AUTH_XOAUTH2
|
||||
};
|
||||
|
||||
explicit SMTPClientSession(const StreamSocket& socket);
|
||||
@@ -184,6 +185,7 @@ protected:
|
||||
void loginUsingCRAM(const std::string& username, const std::string& method, Poco::DigestEngine& hmac);
|
||||
void loginUsingLogin(const std::string& username, const std::string& password);
|
||||
void loginUsingPlain(const std::string& username, const std::string& password);
|
||||
void loginUsingXOAUTH2(const std::string& username, const std::string& password);
|
||||
DialogSocket& socket();
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user