diff options
author | Eduardo Chappa <chappa@washington.edu> | 2021-05-02 20:10:20 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2021-05-02 20:10:20 -0600 |
commit | 7ff6ecbd42b1e95696015ce07433097143fd9aeb (patch) | |
tree | 7107d8353f3e04005968598cb1ea2ca158356a41 /alpine/xoauth2conf.c | |
parent | 653eeaa2ba5d7a539faf2e4fda32820d987a7c3a (diff) | |
download | alpine-7ff6ecbd42b1e95696015ce07433097143fd9aeb.tar.xz |
* Code reorganization to place all xoauth2 configuration information in
one file.
Diffstat (limited to 'alpine/xoauth2conf.c')
-rw-r--r-- | alpine/xoauth2conf.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/alpine/xoauth2conf.c b/alpine/xoauth2conf.c index a5b9df7d..2a202826 100644 --- a/alpine/xoauth2conf.c +++ b/alpine/xoauth2conf.c @@ -22,16 +22,7 @@ #include "../pith/conf.h" #include "../pith/list.h" #include "../pith/mailcmd.h" - -extern OAUTH2_S alpine_oauth2_list[]; - -XOAUTH2_INFO_S xoauth_default[] = { - { GMAIL_NAME, GMAIL_ID, GMAIL_SECRET, GMAIL_TENANT, NULL, NULL}, - { OUTLOOK_NAME, OUTLOOK_ID, OUTLOOK_SECRET, OUTLOOK_TENANT, NULL, NULL}, - { YAHOO_NAME, YAHOO_ID, YAHOO_SECRET, YAHOO_TENANT, NULL, NULL}, - { YANDEX_NAME, YANDEX_ID, YANDEX_SECRET, YANDEX_TENANT, NULL, NULL}, - { NULL, NULL, NULL, NULL, NULL, NULL} -}; +#include "xoauth2info.c" typedef enum {Xname = 0, Xid, Xsecret, Xtenant, Xuser, XFlow, Xend} XTYPES; |