diff options
author | Piotr Piastucki <leech.miranda@gmail.com> | 2015-08-10 00:23:39 +0000 |
---|---|---|
committer | Piotr Piastucki <leech.miranda@gmail.com> | 2015-08-10 00:23:39 +0000 |
commit | 623da26184c4e642d5a2bcee09091ff412aea7d4 (patch) | |
tree | 12201e53cc9f7f209235e1938c2ee16d595de2dd /protocols/MSN/src/msn_proto.h | |
parent | 6272fc3926670e181b9d6a4015d62ca2573fc321 (diff) |
Added embedded Internet Explorer Window for MSN 2-factor authentication or other login issues where manual user intervention is necessary.
git-svn-id: http://svn.miranda-ng.org/main/trunk@14890 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/src/msn_proto.h')
-rw-r--r-- | protocols/MSN/src/msn_proto.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/MSN/src/msn_proto.h b/protocols/MSN/src/msn_proto.h index 952c32db05..f5a4fa8358 100644 --- a/protocols/MSN/src/msn_proto.h +++ b/protocols/MSN/src/msn_proto.h @@ -118,6 +118,7 @@ struct CMsnProto : public PROTO<CMsnProto> char *authStorageToken;
char *hotSecretToken, *hotAuthToken;
char *authUser, *authUIC, *authCookies, *authSSLToken, *authAccessToken, *authRefreshToken, *authSkypeComToken, *authSkypeToken;
+ bool bAskingForAuth;
int authMethod;
time_t authTokenExpiretime;
bool bSentBND;
@@ -275,6 +276,7 @@ struct CMsnProto : public PROTO<CMsnProto> void __cdecl msn_keepAliveThread(void* arg);
void __cdecl msn_loginThread(void* arg);
+ void __cdecl msn_IEAuthThread(void* arg);
void __cdecl MSNServerThread(void* arg);
void __cdecl MsnFileAckThread(void* arg);
@@ -492,6 +494,7 @@ struct CMsnProto : public PROTO<CMsnProto> char* GenerateLoginBlob(char* challenge);
void LoadAuthTokensDB(void);
void SaveAuthTokensDB(void);
+ bool parseLoginPage(char *pszHTML, NETLIBHTTPREQUEST *nlhr, CMStringA *post);
int LoginSkypeOAuth(const char *pRefreshToken);
bool RefreshOAuth(const char *pszRefreshToken, const char *pszService, char *pszAccessToken, char *pszOutRefreshToken=NULL, time_t *ptExpires=NULL);
int MSN_AuthOAuth(void);
|