![]() |
![]() |
![]() |
telepathy-glib API Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals |
TpBasePasswordChannel implements TpSvcDBusProperties, TpSvcChannel, TpChannelIface, TpExportableChannel, TpSvcChannelTypeServerAuthentication and TpSvcChannelInterfaceSASLAuthentication.
"authentication-method" gchar* : Read "authorization-identity" gchar* : Read "available-mechanisms" GStrv : Read "can-try-again" gboolean : Read "default-realm" gchar* : Read "default-username" gchar* : Read "has-initial-data" gboolean : Read "may-save-response" gboolean : Read / Write / Construct Only "sasl-error" gchar* : Read "sasl-error-details" GHashTable_gchararray+GValue_* : Read "sasl-status" guint : Read
This class implements a SASL Authentication channel with the
X-TELEPATHY-PASSWORD SASL mechanism. Most of the time, you should not use
or instantiate this class directly. It is used by TpBasePasswordManager
behind the scenes. In some special circumstances (e.g. when the authentication
channel needs to implement additional interfaces), it may be necessary to
create your own custom authentication channels instead of letting
TpBasePasswordManager create them automatically. In this case, you
should derive your channel from this class and then pass the channel as an
argument to tp_simple_password_manager_prompt_for_channel_async()
.
"authentication-method"
property"authentication-method" gchar* : Read
Interface of authentication method.
Default value: ""
"authorization-identity"
property"authorization-identity" gchar* : Read
Authorization identity.
Default value: ""
"available-mechanisms"
property"available-mechanisms" GStrv : Read
The set of mechanisms the server advertised.
"can-try-again"
property"can-try-again" gboolean : Read
Whether StartMechanism will work in failed states.
Default value: FALSE
"has-initial-data"
property"has-initial-data" gboolean : Read
Whether the StartMechanismWithData can be called.
Default value: FALSE
"may-save-response"
property"may-save-response" gboolean : Read / Write / Construct Only
Whether the client may save the authentication response.
Default value: TRUE
"sasl-error-details"
property "sasl-error-details" GHashTable_gchararray+GValue_* : Read
SASL error details.
"sasl-status"
property"sasl-status" guint : Read
The status of the current SASL authentication.
Allowed values: <= 7
Default value: 0
"finished"
signalvoid user_function (TpBasePasswordChannel *password,
GString *domain,
guint code,
gint message,
gchar *arg4,
gpointer user_data) : Run Last
Emitted when either the password has been provided by the user or the authentication has been aborted.
|
the password provided by the user, or NULL if the
authentication has been aborted |
|
domain of a GError indicating why the authentication has been aborted, or 0 |
|
error code of a GError indicating why the authentication has been aborted, or 0 |
|
a message associated with the error, or NULL
|
|
user data set when the signal handler was connected. |
Since 0.13.15