Root context of a SASL authentication API which provides common elements used in both clients and servers.
More...
|
SaslContextRole | Role [get] |
| Returns the role this context plays either client or server More...
|
|
IAttachments | Attachments [get] |
| Access to the linked attachments instance where properties can be attached to this context for later application use. More...
|
|
bool | IsDone [get] |
| Checks if SASL authentication has completed and an outcome is available. More...
|
|
bool | IsServer [get] |
| Provides a quick check for this context being a server context More...
|
|
bool | IsClient [get] |
| Provides a quick check for this context being a server context More...
|
|
SaslAuthOutcome | Outcome [get] |
| Gets the outcome of 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. More...
|
|
EngineSaslState | State [get] |
| Returns a state enum that indicates the current operating state of the SASL negotiation process or conversely if no SASL layer is configured this method should return the no-SASL state. This method must never return a null result. More...
|
|
Symbol[] | ServerMechanisms [get] |
| After the server has sent its supported mechanisms this method will return a copy of that list for review by the server event handler. If called before the server has sent the mechanisms list this method will return null. More...
|
|
Symbol | ChosenMechanism [get] |
| Returns the mechanism that was sent to the server to select the SASL mechanism to use for negotiations. If called before the client has sent its chosen mechanism this method returns null. More...
|
|
string | Hostname [get] |
| The DNS name of the host (either fully qualified or relative) that was sent to the server which define the host the sending peer is connecting to. If called before the client sent the host name information to the server this method returns null. More...
|
|
Root context of a SASL authentication API which provides common elements used in both clients and servers.
◆ Attachments
IAttachments Apache.Qpid.Proton.Engine.Sasl.ISaslContext.Attachments |
|
get |
Access to the linked attachments instance where properties can be attached to this context for later application use.
◆ ChosenMechanism
Symbol Apache.Qpid.Proton.Engine.Sasl.ISaslContext.ChosenMechanism |
|
get |
Returns the mechanism that was sent to the server to select the SASL mechanism to use for negotiations. If called before the client has sent its chosen mechanism this method returns null.
◆ Hostname
string Apache.Qpid.Proton.Engine.Sasl.ISaslContext.Hostname |
|
get |
The DNS name of the host (either fully qualified or relative) that was sent to the server which define the host the sending peer is connecting to. If called before the client sent the host name information to the server this method returns null.
◆ IsClient
bool Apache.Qpid.Proton.Engine.Sasl.ISaslContext.IsClient |
|
get |
Provides a quick check for this context being a server context
◆ IsDone
bool Apache.Qpid.Proton.Engine.Sasl.ISaslContext.IsDone |
|
get |
Checks if SASL authentication has completed and an outcome is available.
◆ IsServer
bool Apache.Qpid.Proton.Engine.Sasl.ISaslContext.IsServer |
|
get |
Provides a quick check for this context being a server context
◆ Outcome
Gets the outcome of 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.
◆ Role
Returns the role this context plays either client or server
◆ ServerMechanisms
Symbol [] Apache.Qpid.Proton.Engine.Sasl.ISaslContext.ServerMechanisms |
|
get |
After the server has sent its supported mechanisms this method will return a copy of that list for review by the server event handler. If called before the server has sent the mechanisms list this method will return null.
◆ State
Returns a state enum that indicates the current operating state of the SASL negotiation process or conversely if no SASL layer is configured this method should return the no-SASL state. This method must never return a null result.
The documentation for this interface was generated from the following file:
- src/Proton/Engine/Sasl/ISaslContext.cs