Class SaslCredentials
Username and password credentials for SASL authentication. Immutable. Used by PLAIN, LOGIN, CRAM-MD5, and other password-based SASL mechanisms across SMTP, POP3, and IMAP.
Inherited Members
Namespace: DRIT.Mail.Rfc.Sasl
Assembly: DRIT.Mail.dll
Syntax
public class SaslCredentials
Constructors
View SourceSaslCredentials(string, string)
Initializes a new instance of the SaslCredentials class.
Declaration
public SaslCredentials(string userName, string password)
Parameters
| Type | Name | Description |
|---|---|---|
| string | userName | The authentication user name. |
| string | password | The authentication password. |
Properties
View SourcePassword
Gets the authentication password.
Declaration
public string Password { get; }
Property Value
| Type | Description |
|---|---|
| string |
UserName
Gets the authentication user name.
Declaration
public string UserName { get; }
Property Value
| Type | Description |
|---|---|
| string |