Defines supported means of authenticating with an IMAP server.
Namespace: S22.ImapAssembly: S22.Imap (in S22.Imap.dll) Version: 3.6.0.0 (3.6.0.0)
Syntax
| C# |
|---|
public enum AuthMethod |
Members
| Member name | Value | Description | |
|---|---|---|---|
| Auto | 0 | Automatically selects the most-secure authentication mechanism supported by the server. | |
| Login | 1 | Login using plaintext password authentication; This is supported by most servers. | |
| Plain | 2 | Login using the SASL PLAIN authentication mechanism. | |
| CramMd5 | 3 | Login using the CRAM-MD5 authentication mechanism. | |
| DigestMd5 | 4 | Login using the DIGEST-MD5 authentication mechanism. | |
| OAuth | 5 | Login using OAuth via the SASL XOAuth mechanism. | |
| OAuth2 | 6 | Login using OAuth 2.0 via the SASL XOAUTH2 mechanism. | |
| Ntlm | 7 | Login using the NTLM authentication mechanism. | |
| Ntlmv2 | 8 | Login using the NTLMv2 authentication mechanism. | |
| NtlmOverSspi | 9 | Login using the NTLM/NTLMv2 authentication mechanism via Microsoft's Security Support Provider Interface (SSPI). | |
| Gssapi | 10 | Login using Kerberos authentication via the SASL GSSAPI mechanism. | |
| ScramSha1 | 11 | Login using the SCRAM-SHA-1 authentication mechanism. | |
| Srp | 12 | Login using the Secure Remote Password (SRP) authentication mechanism. |