[ Version ( since = "3.0" ) ]
public async ByteArray? challenge (ByteArray? token, int io_priority, Cancellable? cancellable = null) throws Error
If token
is null, asynchronously generate the initial SASL message to send to the server.
(This will be null if the client doesn't initiate the exchange.) Otherwise, token
is a
challenge from the server, and the asynchronous result is the response.
When the operation is finished, callback
will be called. You can then call challenge.end to get
the result of the operation.
this |
a Sasl |
token |
a token, or null |
io_priority |
the I/O priority of the request |
cancellable |
optional Cancellable object, or null |
callback |
a TaskReadyCallback to call when the request is satisfied |
user_data |
data to pass to the callback function |