mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-27 10:57:34 +09:00
Issue #1258 - Part 8: Ifdef MailNews OAuth2 Support
Use --disable-mailnews-oauth2 to exclude it. Confvars won't be respected.
This commit is contained in:
parent
971009881c
commit
1531d6498d
27 changed files with 193 additions and 23 deletions
|
|
@ -95,7 +95,10 @@ function readFromXML(clientConfigXML)
|
|||
"secure" : Ci.nsMsgAuthMethod.passwordEncrypted,
|
||||
"GSSAPI" : Ci.nsMsgAuthMethod.GSSAPI,
|
||||
"NTLM" : Ci.nsMsgAuthMethod.NTLM,
|
||||
"OAuth2" : Ci.nsMsgAuthMethod.OAuth2 });
|
||||
#ifdef MOZ_MAILNEWS_OAUTH2
|
||||
"OAuth2" : Ci.nsMsgAuthMethod.OAuth2
|
||||
#endif
|
||||
});
|
||||
break; // take first that we support
|
||||
} catch (e) { exception = e; }
|
||||
}
|
||||
|
|
@ -176,7 +179,9 @@ function readFromXML(clientConfigXML)
|
|||
"secure" : Ci.nsMsgAuthMethod.passwordEncrypted,
|
||||
"GSSAPI" : Ci.nsMsgAuthMethod.GSSAPI,
|
||||
"NTLM" : Ci.nsMsgAuthMethod.NTLM,
|
||||
#ifdef MOZ_MAILNEWS_OAUTH2
|
||||
"OAuth2" : Ci.nsMsgAuthMethod.OAuth2,
|
||||
#endif
|
||||
});
|
||||
|
||||
break; // take first that we support
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue