Click or drag to resize
MimeKit

SaslMechanismPlain Class

The PLAIN SASL mechanism.
Inheritance Hierarchy

Namespace:  MailKit.Security
Assembly:  MailKit (in MailKit.dll) Version: 2.7.0
Syntax
C#
public class SaslMechanismPlain : SaslMechanism

The SaslMechanismPlain type exposes the following members.

Constructors
  NameDescription
Public methodSaslMechanismPlain(NetworkCredential)
Initializes a new instance of the SaslMechanismPlain class.
Public methodSaslMechanismPlain(String, String)
Initializes a new instance of the SaslMechanismPlain class.
Public methodSaslMechanismPlain(Encoding, NetworkCredential)
Initializes a new instance of the SaslMechanismPlain class.
Public methodSaslMechanismPlain(Uri, ICredentials) Obsolete.
Initializes a new instance of the SaslMechanismPlain class.
Public methodSaslMechanismPlain(Encoding, String, String)
Initializes a new instance of the SaslMechanismPlain class.
Public methodSaslMechanismPlain(Uri, String, String) Obsolete.
Initializes a new instance of the SaslMechanismPlain class.
Public methodSaslMechanismPlain(Uri, Encoding, ICredentials) Obsolete.
Initializes a new instance of the SaslMechanismPlain class.
Public methodSaslMechanismPlain(Uri, Encoding, String, String) Obsolete.
Initializes a new instance of the SaslMechanismPlain class.
Top
Properties
  NameDescription
Public propertyAuthorizationId
Gets or sets the authorization identifier.
Public propertyCredentials
Gets the user's credentials.
(Inherited from SaslMechanism.)
Public propertyIsAuthenticated
Gets or sets whether the SASL mechanism has finished authenticating.
(Inherited from SaslMechanism.)
Public propertyMechanismName
Gets the name of the mechanism.
(Overrides SaslMechanismMechanismName.)
Public propertyNegotiatedSecurityLayer
Gets whether or not a security layer was negotiated.
(Inherited from SaslMechanism.)
Public propertySupportsInitialResponse
Gets whether or not the mechanism supports an initial response (SASL-IR).
(Overrides SaslMechanismSupportsInitialResponse.)
Top
Methods
  NameDescription
Public methodChallenge(String)
Decodes the base64-encoded server challenge and returns the next challenge response encoded in base64.
(Inherited from SaslMechanism.)
Protected methodChallenge(Byte, Int32, Int32)
Parses the server's challenge token and returns the next challenge response.
(Overrides SaslMechanismChallenge(Byte, Int32, Int32).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReset
Resets the state of the SASL mechanism.
(Inherited from SaslMechanism.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
The PLAIN SASL mechanism provides little protection over the use of plain-text passwords by combining the user name and password and obscuring them within a base64-encoded blob and should be avoided unless used in combination with an SSL or TLS connection.
See Also