| libaccounts-glib Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
#include <libaccounts-glib/ag-auth-data.h>
AgAuthData;
guint ag_auth_data_get_credentials_id (AgAuthData *self);
const gchar * ag_auth_data_get_mechanism (AgAuthData *self);
const gchar * ag_auth_data_get_method (AgAuthData *self);
GHashTable * ag_auth_data_get_parameters (AgAuthData *self);
void ag_auth_data_insert_parameters (AgAuthData *self,
GHashTable *parameters);
AgAuthData * ag_auth_data_ref (AgAuthData *self);
void ag_auth_data_unref (AgAuthData *self);
The AgAuthData structure holds information on the authentication
parameters used by an account. It is created by
ag_account_service_get_auth_data(), and can be destroyed with
ag_auth_data_unref().
guint ag_auth_data_get_credentials_id (AgAuthData *self);
Gets the ID of the credentials associated with this account.
|
the AgAuthData. |
Returns : |
the credentials ID. |
const gchar * ag_auth_data_get_mechanism (AgAuthData *self);
Gets the authentication mechanism.
|
the AgAuthData. |
Returns : |
the authentication mechanism. |
const gchar * ag_auth_data_get_method (AgAuthData *self);
Gets the authentication method.
|
the AgAuthData. |
Returns : |
the authentication method. |
GHashTable * ag_auth_data_get_parameters (AgAuthData *self);
Gets the authentication parameters.
|
the AgAuthData. |
Returns : |
a GHashTable containing all the authentication parameters. [transfer none][element-type utf8 GValue] |
void ag_auth_data_insert_parameters (AgAuthData *self,GHashTable *parameters);
Insert the given authentication parameters into the authentication data. If some parameters were already present, the parameters passed with this method take precedence.
|
the AgAuthData. |
|
a GHashTable containing the authentication parameters to be added. [transfer none][element-type utf8 GValue] |
AgAuthData * ag_auth_data_ref (AgAuthData *self);
Increment the reference count of self.
|
the AgAuthData. |
Returns : |
self. |
void ag_auth_data_unref (AgAuthData *self);
Decrements the reference count of self. The item is destroyed when the
count gets to 0.
|
the AgAuthData. |