Click or drag to resize
MimeKit

SaslMechanismNtlm Class

The NTLM SASL mechanism.
Inheritance Hierarchy
SystemObject
  MailKit.SecuritySaslMechanism
    MailKit.SecuritySaslMechanismNtlm

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

The SaslMechanismNtlm type exposes the following members.

Constructors
 NameDescription
Public methodSaslMechanismNtlm(NetworkCredential) Initializes a new instance of the SaslMechanismNtlm class.
Public methodSaslMechanismNtlm(String, String) Initializes a new instance of the SaslMechanismNtlm class.
Top
Properties
 NameDescription
Public propertyAllowChannelBinding Get or set a value indicating whether or not the NTLM SASL mechanism should allow channel-binding.
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 propertyIsUnverifiedServicePrincipalName Get or set a value indicating that the caller generated the target's SPN from an untrusted source.
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.
(Overrides SaslMechanismNegotiatedChannelBinding)
Public propertyNegotiatedSecurityLayer Get whether or not a security layer was negotiated by the SASL mechanism.
(Inherited from SaslMechanism)
Public propertyOSVersion Get or set the Windows OS version to use in the NTLM negotiation (used for debugging purposes).
Public propertyServicePrincipalName Get or set the service principal name (SPN) of the service that the client wishes to authenticate with.
Public propertySupportsChannelBinding Get whether or not the SASL mechanism supports channel binding.
(Overrides SaslMechanismSupportsChannelBinding)
Public propertySupportsInitialResponse Get whether or not the mechanism supports an initial response (SASL-IR).
(Overrides SaslMechanismSupportsInitialResponse)
Public propertyWorkstation Get or set the workstation name to use for authentication.
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) Parse the server's challenge token and return 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 Reset 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
A SASL mechanism based on NTLM.
See Also