Top | ![]() |
![]() |
![]() |
![]() |
|
camel_sasl_new () |
|
camel_sasl_try_empty_password_sync () |
|
camel_sasl_try_empty_password () |
|
camel_sasl_try_empty_password_finish () |
|
camel_sasl_get_authenticated () |
|
camel_sasl_set_authenticated () |
const |
camel_sasl_get_mechanism () |
|
camel_sasl_get_service () |
const |
camel_sasl_get_service_name () |
|
camel_sasl_challenge_sync () |
|
camel_sasl_challenge () |
|
camel_sasl_challenge_finish () |
|
camel_sasl_challenge_base64_sync () |
|
camel_sasl_challenge_base64 () |
|
camel_sasl_challenge_base64_finish () |
|
camel_sasl_authtype_list () |
|
camel_sasl_authtype () |
CamelSasl * camel_sasl_new (const
,gchar *service_nameconst
,gchar *mechanism);
CamelService *service
gboolean camel_sasl_try_empty_password_sync (,
CamelSasl *sasl,
GCancellable *cancellable);
GError **error
sasl |
a |
|
cancellable |
optional |
|
error |
return location for a |
whether or not sasl
can attempt to authenticate without a
password being provided by the caller. This will be TRUE
need_password
flag set in its description.
Since: 3.2
void camel_sasl_try_empty_password (,
CamelSasl *sasl,
gint io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback);
gpointer user_data
Asynchronously determine whether sasl
can be used for password-less
authentication, for example single-sign-on using system credentials.
When the operation is finished, callback
will be called. You can then
call camel_sasl_try_empty_password_finish()
to get the result of the
operation.
sasl |
a |
|
io_priority |
the I/O priority of the request |
|
cancellable |
optional |
|
callback |
a |
|
user_data |
data to pass to the callback function |
Since: 3.2
gboolean camel_sasl_try_empty_password_finish (,
CamelSasl *sasl,
GAsyncResult *result);
GError **error
Finishes the operation started with camel_sasl_try_empty_password()
.
Since: 3.2
void camel_sasl_set_authenticated (,
CamelSasl *sasl);
gboolean authenticated
Since: 2.32
constgchar * camel_sasl_get_service_name ();
CamelSasl *sasl
Since: 2.32
GByteArray * camel_sasl_challenge_sync (,
CamelSasl *sasl,
GByteArray *token,
GCancellable *cancellable);
GError **error
If token
is NULL
NULL
token
is a challenge from the server, and
the return value is the response.
Free the returned g_byte_array_free()
void camel_sasl_challenge (,
CamelSasl *sasl,
GByteArray *token,
gint io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback);
gpointer user_data
If token
is NULL
NULL
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 camel_sasl_challenge_finish()
to get the result of the operation.
sasl |
a |
|
token |
a token, or |
|
io_priority |
the I/O priority of the request |
|
cancellable |
optional |
|
callback |
a |
|
user_data |
data to pass to the callback function |
Since: 3.0
GByteArray * camel_sasl_challenge_finish (,
CamelSasl *sasl,
GAsyncResult *result);
GError **error
Finishes the operation started with camel_sasl_challenge()
. Free the
returned g_byte_array_free()
Since: 3.0
gchar * camel_sasl_challenge_base64_sync (,
CamelSasl *saslconst
,gchar *token,
GCancellable *cancellable);
GError **error
As with camel_sasl_challenge_sync()
, but the challenge token
and the
response are both base64-encoded.
sasl |
a |
|
token |
a base64-encoded token |
|
cancellable |
optional |
|
error |
return location for a |
Since: 3.0
void camel_sasl_challenge_base64 (,
CamelSasl *saslconst
,gchar *token,
gint io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback);
gpointer user_data
As with camel_sasl_challenge()
, but the challenge token
and the
response are both base64-encoded.
When the operation is finished, callback
will be called. You can
then call camel_store_challenge_base64_finish()
sasl |
a |
|
token |
a base64-encoded token |
|
io_priority |
the I/O priority of the request |
|
cancellable |
optional |
|
callback |
a |
|
user_data |
data to pass to the callback function |
Since: 3.0
gchar * camel_sasl_challenge_base64_finish (,
CamelSasl *sasl,
GAsyncResult *result);
GError **error
Finishes the operation started with camel_sasl_challenge_base64()
.
Since: 3.0