The supported authentication methods.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
| Member Name | Description | Value |
|---|---|---|
| Default | The default authentication scheme which sends the username and password as cleartext to the server. Because the user credentials are not encrypted, this method should only be used over a secure connection. This is the same as specifying Password as the authentication method. | 0 |
| Password | The username and password is sent to the server using the USER and PASS commands. This authentication method is supported by most servers and is the default authentication type. The credentials are not encrypted and this method should only be used over secure connections. | 0 |
| Apop | The APOP authentication method which uses an MD5 digest of the password. This method has been deprecated is not supported by all servers. It should only be used if required by legacy mail servers which do not support the SASL authentication methods. | 1 |
| Login | This authentication type will use the LOGIN method to authenticate the client session. This encodes the username and password in a specific format, but the credentials are not encrypted. It should be used over a secure connection. The server must support the Simple Authentication and Security Layer (SASL) mechanism as defined in RFC 4422. | 3 |
| Plain | This authentication type will use the PLAIN method to authenticate the client session. This encodes the username and password in a specific format, but the credentials are not encrypted. It should be used over a secure connection. The server must support the PLAIN Simple Authentication and Security Layer (SASL) mechanism as defined in RFC 4616. | 4 |
| OAuth2 | This authentication type will use the XOAUTH2 method to authenticate the client session. This authentication method does not require the user password, instead the BearerToken property must specify the OAuth 2.0 bearer token issued by the service provider. | 6 |
| Bearer | This authentication type will use the OAUTHBEARER method to authenticate the client session as defined in RFC 7628. This authentication method does not require the user password, instead the BearerToken property must specify the OAuth 2.0 bearer token issued by the service provider. | 7 |
Namespace: SocketTools
Assembly: SocketTools.PopClient (in SocketTools.PopClient.dll)
Version: 12.0.3041.1380