challenge_sync


Description:

public virtual ByteArray? challenge_sync (ByteArray? token, Cancellable? cancellable = null) throws Error

If token is null, 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 return value is the response.

Free the returned ByteArray with g_byte_array_free.

Parameters:

this

a Sasl

token

a token, or null

cancellable

optional Cancellable object, or null

Returns:

the SASL response or null. If an error occurred, throws will also be set.




2022 vala-language.org