IMAP authenticator multiplexor. More...
#include "config.h"#include <string.h>#include "private.h"#include "mutt/lib.h"#include "config/lib.h"#include "core/lib.h"#include "auth.h"
Include dependency graph for auth.c:Go to the source code of this file.
Data Structures | |
| struct | ImapAuth |
| IMAP authentication multiplexor. More... | |
Functions | |
| bool | imap_auth_is_valid (const char *authenticator) |
| Check if string is a valid imap authentication method. | |
| int | imap_authenticate (struct ImapAccountData *adata) |
| Authenticate to an IMAP server. | |
Variables | |
| static const struct ImapAuth | ImapAuthenticators [] |
| Accepted authentication methods. | |
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.c.
| 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.
Here is the call graph for this function:
Here is the caller graph for this function:| int imap_authenticate | ( | struct ImapAccountData * | adata | ) |
Authenticate to an IMAP server.
| adata | Imap Account data |
| enum | ImapAuthRes, e.g. IMAP_AUTH_SUCCESS |
Attempt to authenticate using either user-specified authentication method if specified, or any.
Definition at line 115 of file auth.c.
Here is the caller graph for this function:
|
static |
Accepted authentication methods.
Definition at line 64 of file auth.c.