Sasl
Object Hierarchy:
Description:
[
CCode ( type_id =
"camel_sasl_get_type ()" ) ]
public abstract class Sasl :
Object
Content:
Properties:
Static methods:
Creation methods:
Methods:
- 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.
- public async string challenge_base64 (string token, int io_priority, Cancellable? cancellable = null) throws Error
As with challenge
, but the challenge token and the response are both base64-encoded.
- public string challenge_base64_sync (string token, Cancellable? cancellable = null) throws Error
As with
challenge_sync, but the challenge token and the
response are both base64-encoded.
- 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.
- public bool get_authenticated ()
- public unowned string get_mechanism ()
- public unowned Service get_service ()
- public unowned string get_service_name ()
- public void set_authenticated (bool authenticated)
- public async bool try_empty_password (int io_priority, Cancellable? cancellable = null) throws Error
Asynchronously determine whether this
can be used for password-less authentication, for example single-sign-on using system credentials.
- public virtual bool try_empty_password_sync (Cancellable? cancellable = null) throws Error
Fields:
Inherited Members:
All known members inherited from class GLib.Object