Class ConnectionListener.SaslSettings
Contains the SASL settings for a connection.
Inheritance
System.Object
ConnectionListener.SaslSettings
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Amqp.Listener
Assembly: Amqp.Net.dll
Syntax
public class SaslSettings
Properties
EnableAnonymousMechanism
Gets or sets a value indicating if SASL ANONYMOUS mechanism is enabled.
Declaration
public bool EnableAnonymousMechanism { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
EnableExternalMechanism
Gets or sets a value indicating if SASL EXTERNAL mechanism is enabled.
Declaration
public bool EnableExternalMechanism { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Methods
EnableMechanism<T>(Symbol, T)
Enables a custom mechanism.
Declaration
public void EnableMechanism<T>(Symbol mechanism, T profile)where T : SaslProfile
Parameters
| Type | Name | Description |
|---|---|---|
| Symbol | mechanism | The mechanism. |
| T | profile | The SaslProfile that handles the negotiation for this mechanism. |
Type Parameters
| Name | Description |
|---|---|
| T | The type of |
EnablePlainMechanism(String, String)
Enables SASL PLAIN mechanism.
Declaration
public void EnablePlainMechanism(string userName, string password)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | userName | |
| System.String | password |