diff options
author | Eduardo Chappa <chappa@washington.edu> | 2022-06-02 13:05:02 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2022-06-02 13:05:02 -0600 |
commit | f69131562a08ec43c88e8f88c3ee4d8f25b3dc54 (patch) | |
tree | 9d0f4036ccefb7a95e4a3c377e5eb233a032e60a /imap | |
parent | 6b87c9de3ab319846baa303544084a76254d55f5 (diff) | |
download | alpine-f69131562a08ec43c88e8f88c3ee4d8f25b3dc54.tar.xz |
* New flag for XOAUTH2 authentication, which is needed to indicate that
we are opening a stream for the first time. This is not needed for
online access but for drivers that need to open/close a connection
many times.
Diffstat (limited to 'imap')
-rw-r--r-- | imap/src/c-client/mail.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/imap/src/c-client/mail.h b/imap/src/c-client/mail.h index 6e429b00..7d1bae1d 100644 --- a/imap/src/c-client/mail.h +++ b/imap/src/c-client/mail.h @@ -1948,9 +1948,10 @@ int PFLUSH (void); #define OAUTH2_TOT_EQUIV (OAUTH2_MAX_EQUIV + 2) #define OAUTH2_PARAM_NUMBER (8) -#define OA2_UNKNOWN 0x00 /* We do not know what method this client-id uses */ -#define OA2_DEVICE 0x01 /* Client ID obtained by client uses Device Method */ -#define OA2_AUTHORIZE 0x10 /* Client ID obtained by client uses Authorize Method */ +#define OA2_UNKNOWN 0x000 /* We do not know what method this client-id uses */ +#define OA2_DEVICE 0x001 /* Client ID obtained by client uses Device Method */ +#define OA2_AUTHORIZE 0x010 /* Client ID obtained by client uses Authorize Method */ +#define OA2_OPENSTREAM 0x100 /* We are opening a stream for the first time */ typedef enum {OA2_Id = 0, OA2_Secret, |