* Implement a different way to delete a password from the cache.
[alpine.git] / imap / src / c-client / oauth2_aux.h
blobdd41e4d8a1661cef19bda0427c5ffbeecbe66acf
1 /*
2 * ========================================================================
3 * Copyright 2013-2022 Eduardo Chappa
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * ========================================================================
13 #ifndef C_CLIENT_OAUTH2_AUX_INCLUDED
14 #define C_CLIENT_OAUTH2_AUX_INCLUDED
16 #define OA2_CODE_WAIT 1
17 #define OA2_CODE_FAIL -1
18 #define OA2_CODE_SUCCESS 0
20 void mm_login_oauth2_c_client_method (NETMBX *, char *, char *, OAUTH2_S *, unsigned long, int *);
21 void oauth2deviceinfo_get_accesscode(void *, void *);
23 #endif /* C_CLIENT_OAUTH2_AUX_INCLUDED */