IMAP OAUTH authentication method. More...
#include "config.h"#include <stdbool.h>#include <stdio.h>#include "private.h"#include "mutt/lib.h"#include "config/lib.h"#include "core/lib.h"#include "conn/lib.h"#include "auth.h"#include "adata.h"#include "mutt_logging.h"
Include dependency graph for auth_oauth.c:Go to the source code of this file.
Functions | |
| static enum ImapAuthRes | imap_auth_oauth_xoauth2 (struct ImapAccountData *adata, const char *method, bool xoauth2) |
| Authenticate an IMAP connection using OAUTHBEARER or XOAUTH2. | |
| enum ImapAuthRes | imap_auth_oauth (struct ImapAccountData *adata, const char *method) |
| Authenticate an IMAP connection using OAUTHBEARER - Implements ImapAuth::authenticate() -. | |
| enum ImapAuthRes | imap_auth_xoauth2 (struct ImapAccountData *adata, const char *method) |
| Authenticate an IMAP connection using XOAUTH2 - Implements ImapAuth::authenticate() -. | |
IMAP OAUTH authentication method.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file auth_oauth.c.
|
static |
Authenticate an IMAP connection using OAUTHBEARER or XOAUTH2.
| adata | Imap Account data |
| method | Use this named method, or any available method if NULL |
| xoauth2 | Use xoauth2 token (if true) or oauthbearer token (if false) |
| num | ImapAuth::ImapAuthRes Result, e.g. IMAP_AUTH_SUCCESS |
Definition at line 51 of file auth_oauth.c.
Here is the call graph for this function:
Here is the caller graph for this function: