IMAP authenticator multiplexor. More...
#include "config.h"
#include <stdbool.h>
Go to the source code of this file.
Enumerations | |
enum | ImapAuthRes { IMAP_AUTH_SUCCESS = 0 , IMAP_AUTH_FAILURE , IMAP_AUTH_UNAVAIL } |
Results of IMAP Authentication. More... | |
Functions | |
bool | imap_auth_is_valid (const char *authenticator) |
Check if string is a valid imap authentication method. | |
enum ImapAuthRes | imap_auth_plain (struct ImapAccountData *adata, const char *method) |
SASL PLAIN support - Implements ImapAuth::authenticate() -. | |
enum ImapAuthRes | imap_auth_anon (struct ImapAccountData *adata, const char *method) |
Authenticate anonymously - Implements ImapAuth::authenticate() -. | |
enum ImapAuthRes | imap_auth_cram_md5 (struct ImapAccountData *adata, const char *method) |
Authenticate using CRAM-MD5 - Implements ImapAuth::authenticate() -. | |
enum ImapAuthRes | imap_auth_login (struct ImapAccountData *adata, const char *method) |
Plain LOGIN support - Implements ImapAuth::authenticate() -. | |
enum ImapAuthRes | imap_auth_gss (struct ImapAccountData *adata, const char *method) |
GSS Authentication support - Implements ImapAuth::authenticate() -. | |
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 authenticator multiplexor.
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.h.
enum ImapAuthRes |
Results of IMAP Authentication.
Enumerator | |
---|---|
IMAP_AUTH_SUCCESS | Authentication successful. |
IMAP_AUTH_FAILURE | Authentication failed. |
IMAP_AUTH_UNAVAIL | Authentication method not permitted. |
bool imap_auth_is_valid | ( | const char * | authenticator | ) |
Check if string is a valid imap authentication method.
authenticator | Authenticator string to check |
true | Argument is a valid auth method |
Validate whether an input string is an accepted imap authentication method as defined by ImapAuthenticators.
Definition at line 95 of file auth.c.