Top | ![]() |
![]() |
![]() |
![]() |
GSignondCredentialsGSignondCredentials — credentials (username, password) associated with an identity |
GSignondCredentials * | gsignond_credentials_new () |
gboolean | gsignond_credentials_set_data () |
gboolean | gsignond_credentials_set_id () |
guint32 | gsignond_credentials_get_id () |
gboolean | gsignond_credentials_set_username () |
const gchar * | gsignond_credentials_get_username () |
gboolean | gsignond_credentials_set_password () |
const gchar * | gsignond_credentials_get_password () |
gboolean | gsignond_credentials_equal () |
GSignondCredentials hold a username, password, and identity id, associated with an identity. This information in stored in secret storage using GSignondSecretStorage.
GSignondCredentials *
gsignond_credentials_new (void
);
Creates a new empty GSignondCredentials object
gboolean gsignond_credentials_set_data (GSignondCredentials *self
,const guint32 id
,const gchar *username
,const gchar *password
);
Sets the data of the GSignondCredentials.
gboolean gsignond_credentials_set_id (GSignondCredentials *self
,const guint32 id
);
Sets the identity id of the GSignondCredentials object
guint32
gsignond_credentials_get_id (GSignondCredentials *self
);
Gets the identity id
gboolean gsignond_credentials_set_username (GSignondCredentials *self
,const gchar *username
);
Sets the username of the GSignondCredentials object
const gchar *
gsignond_credentials_get_username (GSignondCredentials *self
);
Gets the username of the GSignondCredentials object
gboolean gsignond_credentials_set_password (GSignondCredentials *self
,const gchar *password
);
Sets the password of the GSignondCredentials object
const gchar *
gsignond_credentials_get_password (GSignondCredentials *self
);
Gets the password from the GSignondCredentials object