Proton DotNet
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | Properties | List of all members
Apache.Qpid.Proton.Engine.Implementation.ProtonEngineNoOpSaslDriver Class Reference

A Default No-Op SASL context that is used to provide the engine with a stub when no SASL is configured for the operating engine. More...

Inheritance diagram for Apache.Qpid.Proton.Engine.Implementation.ProtonEngineNoOpSaslDriver:
Apache.Qpid.Proton.Engine.IEngineSaslDriver

Public Member Functions

ISaslClientContext Client ()
 Configure this IEngineSaslDriver to operate in client mode and return the associated ISaslClientContext instance that should be used to complete the SASL negotiation with the server end.
 
ISaslServerContext Server ()
 Configure this IEngineSaslDriver to operate in server mode and return the associated ISaslServerContext instance that should be used to complete the SASL negotiation with the client end.
 

Static Public Attributes

static readonly ProtonEngineNoOpSaslDriver Instance = new()
 
static readonly uint MinMaxSaslFrameSize = 512
 

Properties

EngineSaslState SaslState [get]
 Returns a SaslState that indicates the current operating state of the SASL negotiation process or conversely if no SASL layer is configured this method should return the disabled state. This method must never return a null result.
 
SaslAuthOutcomeSaslOutcome [get]
 Provides a low level outcome value for the SASL authentication process. If the SASL exchange is ongoing or the SASL layer was skipped because a particular engine configuration allows such behavior then this method should return null to indicate no SASL outcome is available.
 
uint MaxFrameSize [get, set]
 Provides access to the SASL drivers configured max frame size value, the max frame size can be updated before the engine has been started but is locked for updates following an engine start.
 
- Properties inherited from Apache.Qpid.Proton.Engine.IEngineSaslDriver

Detailed Description

A Default No-Op SASL context that is used to provide the engine with a stub when no SASL is configured for the operating engine.

Member Function Documentation

◆ Client()

ISaslClientContext Apache.Qpid.Proton.Engine.Implementation.ProtonEngineNoOpSaslDriver.Client ( )
inline

Configure this IEngineSaslDriver to operate in client mode and return the associated ISaslClientContext instance that should be used to complete the SASL negotiation with the server end.

Returns
A SASL Client context instance
Exceptions
InvalidOperationExceptionIf the engine is in server mode or has not been configured with SASL support.

Implements Apache.Qpid.Proton.Engine.IEngineSaslDriver.

◆ Server()

ISaslServerContext Apache.Qpid.Proton.Engine.Implementation.ProtonEngineNoOpSaslDriver.Server ( )
inline

Configure this IEngineSaslDriver to operate in server mode and return the associated ISaslServerContext instance that should be used to complete the SASL negotiation with the client end.

Returns
A SASL Server context instance
Exceptions
InvalidOperationExceptionIf the engine is in client mode or has not been configured with SASL support.

Implements Apache.Qpid.Proton.Engine.IEngineSaslDriver.

Property Documentation

◆ MaxFrameSize

uint Apache.Qpid.Proton.Engine.Implementation.ProtonEngineNoOpSaslDriver.MaxFrameSize
getset

Provides access to the SASL drivers configured max frame size value, the max frame size can be updated before the engine has been started but is locked for updates following an engine start.

Implements Apache.Qpid.Proton.Engine.IEngineSaslDriver.

◆ SaslOutcome

SaslAuthOutcome? Apache.Qpid.Proton.Engine.Implementation.ProtonEngineNoOpSaslDriver.SaslOutcome
get

Provides a low level outcome value for the SASL authentication process. If the SASL exchange is ongoing or the SASL layer was skipped because a particular engine configuration allows such behavior then this method should return null to indicate no SASL outcome is available.

Implements Apache.Qpid.Proton.Engine.IEngineSaslDriver.

◆ SaslState

EngineSaslState Apache.Qpid.Proton.Engine.Implementation.ProtonEngineNoOpSaslDriver.SaslState
get

Returns a SaslState that indicates the current operating state of the SASL negotiation process or conversely if no SASL layer is configured this method should return the disabled state. This method must never return a null result.

Implements Apache.Qpid.Proton.Engine.IEngineSaslDriver.


The documentation for this class was generated from the following file: