Click or drag to resize
MimeKit

SaslMechanismLogin Class

The LOGIN SASL mechanism.
Inheritance Hierarchy
SystemObject
  MailKit.SecuritySaslMechanism
    MailKit.SecuritySaslMechanismLogin

Namespace: MailKit.Security
Assembly: MailKit (in MailKit.dll) Version: 4.7.1
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(Encoding, NetworkCredential) Initializes a new instance of the SaslMechanismLogin class.
Public methodSaslMechanismLogin(String, String) Initializes a new instance of the SaslMechanismLogin class.
Public methodSaslMechanismLogin(Encoding, String, String) Initializes a new instance of the SaslMechanismLogin class.
Top
Properties
 NameDescription
Public propertyCredentials Get the user's credentials.
(Inherited from SaslMechanism)
Public propertyIsAuthenticated Get or set whether the SASL mechanism has finished authenticating.
(Inherited from SaslMechanism)
Public propertyMechanismName Get the name of the SASL mechanism.
(Overrides SaslMechanismMechanismName)
Public propertyNegotiatedChannelBinding Get whether or not channel-binding was negotiated by the SASL mechanism.
(Inherited from SaslMechanism)
Public propertyNegotiatedSecurityLayer Get whether or not a security layer was negotiated by the SASL mechanism.
(Inherited from SaslMechanism)
Public propertySupportsChannelBinding Get whether or not the SASL mechanism supports channel binding.
(Inherited from SaslMechanism)
Public propertySupportsInitialResponse Get whether or not the mechanism supports an initial response (SASL-IR).
(Overrides SaslMechanismSupportsInitialResponse)
Top
Methods
 NameDescription
Public methodChallenge(String, CancellationToken) Decode the base64-encoded server challenge and return the next challenge response encoded in base64.
(Inherited from SaslMechanism)
Protected methodChallenge(Byte, Int32, Int32, CancellationToken) Parses the server's challenge token and returns the next challenge response.
(Overrides SaslMechanismChallenge(Byte, Int32, Int32, CancellationToken))
Public methodChallengeAsync(String, CancellationToken) Asynchronously decode the base64-encoded server challenge and return the next challenge response encoded in base64.
(Inherited from SaslMechanism)
Protected methodChallengeAsync(Byte, Int32, Int32, CancellationToken) Asynchronously parse the server's challenge token and return the next challenge response.
(Inherited from SaslMechanism)
Public methodEquals
(Inherited from Object)
Protected methodFinalize
(Inherited from Object)
Public methodGetHashCode
(Inherited from Object)
Public methodGetType
(Inherited from Object)
Protected methodMemberwiseClone
(Inherited from Object)
Public methodReset Resets the state of the SASL mechanism.
(Overrides SaslMechanismReset)
Public methodToString
(Inherited from Object)
Protected methodTryGetChannelBindingToken Try to get a channel-binding token.
(Inherited from SaslMechanism)
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