Sasl Mechanism Ntlm Class
The NTLM SASL mechanism.
Definition
Namespace: MailKit.Security
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public class SaslMechanismNtlm : SaslMechanism- Inheritance
- Object SaslMechanism SaslMechanismNtlm
Remarks
A SASL mechanism based on NTLM.
Constructors
| SaslMechanismNtlm | Initializes a new instance of the SaslMechanismNtlm class. |
| SaslMechanismNtlm(NetworkCredential) | Initializes a new instance of the SaslMechanismNtlm class. |
| SaslMechanismNtlm(String, String) | Initializes a new instance of the SaslMechanismNtlm class. |
Properties
| AllowChannelBinding | Get or set a value indicating whether or not the NTLM SASL mechanism should allow channel-binding. |
| Credentials |
Get the user's credentials.
(Inherited from SaslMechanism) |
| IsAuthenticated |
Get or set whether the SASL mechanism has finished authenticating.
(Inherited from SaslMechanism) |
| IsUnverifiedServicePrincipalName | Get or set a value indicating that the caller generated the target's SPN from an untrusted source. |
| MechanismName |
Get the name of the SASL mechanism.
(Overrides SaslMechanismMechanismName) |
| NegotiatedChannelBinding |
Get whether or not channel-binding was negotiated by the SASL mechanism.
(Overrides SaslMechanismNegotiatedChannelBinding) |
| NegotiatedSecurityLayer |
Get whether or not a security layer was negotiated by the SASL mechanism.
(Inherited from SaslMechanism) |
| OSVersion | Get or set the Windows OS version to use in the NTLM negotiation (used for debugging purposes). |
| ServicePrincipalName | Get or set the service principal name (SPN) of the service that the client wishes to authenticate with. |
| SupportsChannelBinding |
Get whether or not the SASL mechanism supports channel binding.
(Overrides SaslMechanismSupportsChannelBinding) |
| SupportsInitialResponse |
Get whether or not the mechanism supports an initial response (SASL-IR).
(Overrides SaslMechanismSupportsInitialResponse) |
| Workstation | Get or set the workstation name to use for authentication. |
Methods
| Challenge(String, CancellationToken) |
Decode the base64-encoded server challenge and return the next challenge response encoded in base64.
(Inherited from SaslMechanism) |
| Challenge(Byte, Int32, Int32, CancellationToken) |
Parse the server's challenge token and return the next challenge response.
(Overrides SaslMechanismChallenge(Byte, Int32, Int32, CancellationToken)) |
| ChallengeAsync(String, CancellationToken) |
Asynchronously decode the base64-encoded server challenge and return the next challenge response encoded in base64.
(Inherited from SaslMechanism) |
| ChallengeAsync(Byte, Int32, Int32, CancellationToken) |
Asynchronously parse the server's challenge token and return the next challenge response.
(Inherited from SaslMechanism) |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| Reset |
Reset the state of the SASL mechanism.
(Overrides SaslMechanismReset) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| TryGetChannelBinding |
Try to get a channel-binding.
(Inherited from SaslMechanism) |
| TryGetChannelBindingToken |
Try to get a channel-binding token.
(Inherited from SaslMechanism) |