Class

CamelSasl

Description

abstract class Camel.Sasl : GObject.Object
{
  CamelSaslPrivate* priv
}

No description available.

Hierarchy

hierarchy this CamelSasl ancestor_0 GObject ancestor_0--this

Ancestors

Constructors

camel_sasl_new
No description available.

Functions

camel_sasl_authtype
No description available.

camel_sasl_authtype_list
No description available.

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_get_authenticated
No description available.

camel_sasl_get_mechanism
No description available.

since: 2.32

camel_sasl_get_service
No description available.

since: 2.32

camel_sasl_get_service_name
No description available.

since: 2.32

camel_sasl_set_authenticated
No description available.

since: 2.32

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

camel_sasl_try_empty_password_sync
No description available.

since: 3.2

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

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
  );
  gpointer reserved;
  
}

No description available.

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: gpointer

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.

Camel.SaslClass.try_empty_password_sync
No description available.

since: 3.2