ProtonSaslClientAuthenticatorImpl

Manage the client side of the SASL authentication process.

Constructors

this
this(string username, string password, Set!string allowedSaslMechanisms, Handler!ProtonConnection handler)

Create the authenticator and initialize it.

Members

Functions

init
void init(NetSocket.Connection socket, ProtonConnection protonConnection, Transport transport)
Undocumented in source. Be warned that the author may not have intended to support it.
process
void process(Handler!bool completionHandler)
Undocumented in source. Be warned that the author may not have intended to support it.
succeeded
bool succeeded()
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From ProtonSaslAuthenticator

init
void init(Connection socket, ProtonConnection protonConnection, Transport transport)
Undocumented in source.
process
void process(Handler!bool completionHandler)

Process the SASL authentication cycle until such time as an outcome is determined. This should be called by the managing entity until a completion handler result value is true indicating that the handshake has completed (successfully or otherwise). The result can then be verified by calling {@link #succeeded()}.

succeeded
bool succeeded()

Once called after process finished it returns true if the authentication succeeded.

Meta