Interface SaslAuthenticator.ISaslMechanism
- Namespace
- MongoDB.Driver.Core.Authentication
- Assembly
- MongoDB.Driver.Core.dll
Represents a SASL mechanism.
protected interface SaslAuthenticator.ISaslMechanism
Properties
Name
Gets the name of the mechanism.
string Name { get; }
Property Value
- string
The name.
Methods
Initialize(IConnection, SaslConversation, ConnectionDescription)
Initializes the mechanism.
SaslAuthenticator.ISaslStep Initialize(IConnection connection, SaslAuthenticator.SaslConversation conversation, ConnectionDescription description)
Parameters
connection
IConnectionThe connection.
conversation
SaslAuthenticator.SaslConversationThe SASL conversation.
description
ConnectionDescriptionThe connection description.
Returns
- SaslAuthenticator.ISaslStep
The initial SASL step.