Click or drag to resize
MimeKit

SaslMechanismLogin Class

The LOGIN SASL mechanism.
Inheritance Hierarchy

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

The SaslMechanismLogin type exposes the following members.

Constructors
  NameDescription
Public methodSaslMechanismLogin(NetworkCredential)
Initializes a new instance of the SaslMechanismLogin class.
Public methodSaslMechanismLogin(String, String)
Initializes a new instance of the SaslMechanismLogin class.
Public methodSaslMechanismLogin(Encoding, NetworkCredential)
Initializes a new instance of the SaslMechanismLogin class.
Public methodSaslMechanismLogin(Uri, ICredentials) Obsolete.
Initializes a new instance of the SaslMechanismLogin class.
Public methodSaslMechanismLogin(Encoding, String, String)
Initializes a new instance of the SaslMechanismLogin class.
Public methodSaslMechanismLogin(Uri, String, String) Obsolete.
Initializes a new instance of the SaslMechanismLogin class.
Public methodSaslMechanismLogin(Uri, Encoding, ICredentials) Obsolete.
Initializes a new instance of the SaslMechanismLogin class.
Public methodSaslMechanismLogin(Uri, Encoding, String, String) Obsolete.
Initializes a new instance of the SaslMechanismLogin class.
Top
Properties
  NameDescription
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.
(Overrides SaslMechanismReset.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
The LOGIN SASL mechanism provides little protection over the use of plain-text passwords by obscuring the user name and password within individual base64-encoded blobs and should be avoided unless used in combination with an SSL or TLS connection.
See Also