diff options
author | Brandon Long <blong@fiction.net> | 2018-06-26 15:42:08 -0700 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2018-07-16 19:21:45 -0700 |
commit | 98cc42365ac97b0dfeafadf5561043e06744fcf6 (patch) | |
tree | 9c82c0088a9cfe90ae6c578811eef6fbd7954fe2 /globals.h | |
parent | 363c3a95a8c5ed55a4ab8618363aa848453f3d19 (diff) |
Improve OAUTHBEARER support.
Move token refresh commands to their own config variables. Consolidate
code for refreshing tokens and generating the SASL OAUTHBEARER
argument in account.c. Add support for OAUTHBEARER to pop.
Fix pop_auth_oauth() mutt_from_base64() call from 1.10.1 release.
Diffstat (limited to 'globals.h')
-rw-r--r-- | globals.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -64,6 +64,7 @@ WHERE char *ImapAuthenticators INITVAL (NULL); WHERE char *ImapDelimChars INITVAL (NULL); WHERE char *ImapHeaders; WHERE char *ImapLogin INITVAL (NULL); +WHERE char *ImapOauthRefreshCmd INITVAL (NULL); WHERE char *ImapPass INITVAL (NULL); WHERE char *ImapUser INITVAL (NULL); #endif @@ -107,6 +108,7 @@ WHERE char *PipeSep; WHERE char *PopAuthenticators INITVAL (NULL); WHERE short PopCheckTimeout; WHERE char *PopHost; +WHERE char *PopOauthRefreshCmd INITVAL (NULL); WHERE char *PopPass INITVAL (NULL); WHERE char *PopUser INITVAL (NULL); #endif @@ -134,6 +136,7 @@ WHERE char *SimpleSearch; #if USE_SMTP WHERE char *SmtpAuthenticators INITVAL (NULL); WHERE char *SmtpPass INITVAL (NULL); +WHERE char *SmtpOauthRefreshCmd INITVAL (NULL); WHERE char *SmtpUrl INITVAL (NULL); #endif /* USE_SMTP */ WHERE char *Spoolfile; |