summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/client.h
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2016-04-17 11:14:33 +0000
committerRobert Pösel <robyer@seznam.cz>2016-04-17 11:14:33 +0000
commit1218cb54337c4683baf728bec19701da1f10e5ac (patch)
tree925726d9fbed53764efebbe7e1bbbbf2bd8339f9 /protocols/FacebookRM/src/client.h
parent0c1facf5ca73994ad269fd18a88e5b8fe68551c8 (diff)
Facebook: Implement login with two-way authorization
It shows dialog that asks for verification code. User can press button to request code via SMS. Allows 3 attempts to entering correct code, then plugin disconnects. git-svn-id: http://svn.miranda-ng.org/main/trunk@16685 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/client.h')
-rw-r--r--protocols/FacebookRM/src/client.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/FacebookRM/src/client.h b/protocols/FacebookRM/src/client.h
index f393aa0a67..3aedecceac 100644
--- a/protocols/FacebookRM/src/client.h
+++ b/protocols/FacebookRM/src/client.h
@@ -167,6 +167,7 @@ public:
bool login(const char *username, const char *password);
bool logout();
+ bool sms_code(const char *fb_dtsg);
const std::string & get_username() const;