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
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref