Class
CamelSasl
Functions
camel_sasl_is_xoauth2_alias
Checks whether exists a CamelSasl
method for the mechanism
and
whether it derives from CamelSaslXOAuth2
. Such mechanisms are
also treated as XOAUTH2, even their real name is different.
since: 3.28
Instance methods
camel_sasl_challenge
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.
since: 3.0
camel_sasl_challenge_base64
As with camel_sasl_challenge(), but the challenge token
and the
response are both base64-encoded.
since: 3.0
camel_sasl_challenge_base64_finish
Finishes the operation started with camel_sasl_challenge_base64().
since: 3.0
camel_sasl_challenge_base64_sync
As with camel_sasl_challenge_sync(), but the challenge token
and the
response are both base64-encoded.
since: 3.0
camel_sasl_challenge_finish
Finishes the operation started with camel_sasl_challenge(). Free the
returned GByteArray
with g_byte_array_free().
since: 3.0
camel_sasl_challenge_sync
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.
camel_sasl_try_empty_password
Asynchronously determine whether sasl
can be used for password-less
authentication, for example single-sign-on using system credentials.
since: 3.2
camel_sasl_try_empty_password_finish
Finishes the operation started with camel_sasl_try_empty_password().
since: 3.2
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct CamelSaslClass {
GObjectClass parent_class;
CamelServiceAuthType* auth_type;
gboolean (* try_empty_password_sync) (
CamelSasl* sasl,
GCancellable* cancellable,
GError** error
);
GByteArray* (* challenge_sync) (
CamelSasl* sasl,
GByteArray* token,
GCancellable* cancellable,
GError** error
);
None reserved;
}
Class members
parent_class: GObjectClass
- No description available.
auth_type: CamelServiceAuthType*
- No description available.
try_empty_password_sync: gboolean (* try_empty_password_sync) ( CamelSasl* sasl, GCancellable* cancellable, GError** error )
- No description available.
challenge_sync: GByteArray* (* challenge_sync) ( CamelSasl* sasl, GByteArray* token, GCancellable* cancellable, GError** error )
- No description available.
reserved: None
- No description available.
Virtual methods
Camel.SaslClass.challenge_sync
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.