NeoMutt  2020-08-21-74-g346364
Teaching an old dog new tricks
DOXYGEN
auth.h
Go to the documentation of this file.
1 
23 /* common defs for authenticators. A good place to set up a generic callback
24  * system */
25 
26 #ifndef MUTT_IMAP_AUTH_H
27 #define MUTT_IMAP_AUTH_H
28 
29 #include "config.h"
30 
31 struct ImapAccountData;
32 
37 {
41 };
42 
43 /* external authenticator prototypes */
44 enum ImapAuthRes imap_auth_plain(struct ImapAccountData *adata, const char *method);
45 #ifndef USE_SASL
46 enum ImapAuthRes imap_auth_anon(struct ImapAccountData *adata, const char *method);
47 enum ImapAuthRes imap_auth_cram_md5(struct ImapAccountData *adata, const char *method);
48 #endif
49 enum ImapAuthRes imap_auth_login(struct ImapAccountData *adata, const char *method);
50 #ifdef USE_GSS
51 enum ImapAuthRes imap_auth_gss(struct ImapAccountData *adata, const char *method);
52 #endif
53 #ifdef USE_SASL
54 enum ImapAuthRes imap_auth_sasl(struct ImapAccountData *adata, const char *method);
55 #endif
56 enum ImapAuthRes imap_auth_oauth(struct ImapAccountData *adata, const char *method);
57 
58 #endif /* MUTT_IMAP_AUTH_H */
enum ImapAuthRes imap_auth_login(struct ImapAccountData *adata, const char *method)
Plain LOGIN support - Implements ImapAuth::authenticate()
Definition: auth_login.c:41
Authentication method not permitted.
Definition: auth.h:40
enum ImapAuthRes imap_auth_plain(struct ImapAccountData *adata, const char *method)
SASL PLAIN support - Implements ImapAuth::authenticate()
Definition: auth_plain.c:41
Authentication failed.
Definition: auth.h:39
enum ImapAuthRes imap_auth_anon(struct ImapAccountData *adata, const char *method)
Authenticate anonymously - Implements ImapAuth::authenticate()
Definition: auth_anon.c:42
enum ImapAuthRes imap_auth_sasl(struct ImapAccountData *adata, const char *method)
Default authenticator if available - Implements ImapAuth::authenticate()
Definition: auth_sasl.c:45
ImapAuthRes
Results of IMAP Authentication.
Definition: auth.h:36
void * adata
Private data (for Mailbox backends)
Definition: account.h:43
IMAP-specific Account data -.
Definition: private.h:170
enum ImapAuthRes imap_auth_oauth(struct ImapAccountData *adata, const char *method)
Authenticate an IMAP connection using OAUTHBEARER - Implements ImapAuth::authenticate() ...
Definition: auth_oauth.c:43
enum ImapAuthRes imap_auth_cram_md5(struct ImapAccountData *adata, const char *method)
Authenticate using CRAM-MD5 - Implements ImapAuth::authenticate()
Definition: auth_cram.c:94
enum ImapAuthRes imap_auth_gss(struct ImapAccountData *adata, const char *method)
GSS Authentication support - Implements ImapAuth::authenticate()
Definition: auth_gss.c:103
Authentication successful.
Definition: auth.h:38