IMAP authenticator multiplexor. More...
#include "config.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. More... | |
enum ImapAuthRes | imap_auth_plain (struct ImapAccountData *adata, const char *method) |
SASL PLAIN support - Implements ImapAuth::authenticate() More... | |
enum ImapAuthRes | imap_auth_login (struct ImapAccountData *adata, const char *method) |
Plain LOGIN support - Implements ImapAuth::authenticate() More... | |
enum ImapAuthRes | imap_auth_gss (struct ImapAccountData *adata, const char *method) |
GSS Authentication support - Implements ImapAuth::authenticate() More... | |
enum ImapAuthRes | imap_auth_sasl (struct ImapAccountData *adata, const char *method) |
Default authenticator if available - Implements ImapAuth::authenticate() More... | |
enum ImapAuthRes | imap_auth_oauth (struct ImapAccountData *adata, const char *method) |
Authenticate an IMAP connection using OAUTHBEARER - Implements ImapAuth::authenticate() More... | |
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 |
bool imap_auth_is_valid | ( | const char * | authenticator | ) |
Check if string is a valid imap authentication method.
authenticator | Authenticator string to check |
bool | True if argument is a valid auth method |
Validate whether an input string is an accepted imap authentication method as defined by imap_authenticators.
Definition at line 85 of file auth.c.
enum ImapAuthRes imap_auth_plain | ( | struct ImapAccountData * | adata, |
const char * | method | ||
) |
SASL PLAIN support - Implements ImapAuth::authenticate()
Definition at line 41 of file auth_plain.c.
enum ImapAuthRes imap_auth_login | ( | struct ImapAccountData * | adata, |
const char * | method | ||
) |
Plain LOGIN support - Implements ImapAuth::authenticate()
Definition at line 41 of file auth_login.c.
enum ImapAuthRes imap_auth_gss | ( | struct ImapAccountData * | adata, |
const char * | method | ||
) |
GSS Authentication support - Implements ImapAuth::authenticate()
Definition at line 103 of file auth_gss.c.
enum ImapAuthRes imap_auth_sasl | ( | struct ImapAccountData * | adata, |
const char * | method | ||
) |
Default authenticator if available - Implements ImapAuth::authenticate()
Definition at line 45 of file auth_sasl.c.
enum ImapAuthRes imap_auth_oauth | ( | struct ImapAccountData * | adata, |
const char * | method | ||
) |
Authenticate an IMAP connection using OAUTHBEARER - Implements ImapAuth::authenticate()
Definition at line 43 of file auth_oauth.c.