- setMechanisms
Set the acceptable SASL mechanisms for the layer.
- getRemoteMechanisms
Retrieve the list of SASL mechanisms provided by the remote.
- pending
Determine the size of the bytes available via recv(). Returns the size in bytes
available via recv()
- server
- done
Set the outcome of SASL negotiation Used by the server to set the result of the
negotiation process.
- recv
Read challenge/response/additional data sent from the peer. Use pending to
determine the size of the
- send
Send challenge/response/additional data to the peer.
- getState
Access the current state of the layer.
- getOutcome
Retrieve the outcome of SASL negotiation.
- allowSkip
Set whether servers may accept incoming connections that skip the SASL layer
negotiation.
- getHostname
Retrieve the hostname indicated by the client when sending its SaslInit.
- plain
Configure the SASL layer to use the "PLAIN" mechanism. A utility function to
configure a simple clie