Dart.Mail Namespace : Authentication Enumeration |
Public Enum Authentication Inherits System.Enum
Dim instance As Authentication
public enum Authentication : System.Enum
__value public enum Authentication : public System.Enum
public enum class Authentication : public System.Enum
Member | Description |
---|---|
Apop | 2nd-least secure POP authentication (Pop only). |
Auto | Chooses an authentication mechanism in order of preference: CRAM-MD5, LOGIN, PLAIN, GSSAPI, NTLM, (APOP), (None/ClearText). |
ClearText | Login performed in the clear (non-SASL Imap LOGIN or Pop USER/PASS). Least secure. |
CramMD5 | CRAM-MD5 authentication described in RFC 2195. |
GssApi | GSSAPI/SSPI authentication. Not supported under Mono on systems without secur32.dll (Linux, etc). |
Login | SASL LOGIN authentication. |
None | No authentication used (Smtp only). |
Ntlm | NTLM authentication. Not supported under Mono on systems without secur32.dll (Linux, etc). |
OAuth2 | OAuth2 authentication. |
Plain | PLAIN authentication described in RFC 2595. |
Authentication.Auto chooses an authentication mechanism from MailBase.Capabilities in order of preference: CRAM-MD5, (SASL) LOGIN, PLAIN, GSSAPI and NTLM. Pop uses APOP as the lowest preference. If no capabilities are advertised, Smtp uses Authentication.None and Imap/Pop uses Authentication.ClearText (non-SASL Imap LOGIN or Pop USER/PASS). If no credentials are specified, Smtp uses Authentication.None. OAuth2 must be specified manually, as it requires application-level implementation; see the top-level OAuth help topic for more information.
GssApi and Ntlm provide a "single sign-on" capability if MailSession.Username is empty (uses the credentials of the current Windows user account); otherwise MailSession.Username, MailSession.Password, and MailSession.Domain will be used for authentication.
OAuth2 can be used by all mail protocols. See the top-level OAuth help topic for more information.
Authentication protocols that the server supports are listed in MailBase.Capabilities.
System.Object
System.ValueType
System.Enum
Dart.Mail.Authentication