Class
PurpleCredentialManager
unstable since: 3.0
Description [src]
final class Purple.CredentialManager : GObject.Object
implements Gio.ListModel {
/* No available fields */
}
Purple Credential Manager is the main API access to different credential providers. Providers are added to the manager and then the user can choose which provider to use.
Once a provider is selected, all credential access will be directed to that provider.
Available since: 3.0
Functions
purple_credential_manager_get_default
Gets the default PurpleCredentialManager
instance.
unstable since: 3.0
purple_credential_manager_get_default_as_model
Gets the default PurpleCredentialManager
instance cast to a list model.
unstable since: 3.0
Instance methods
purple_credential_manager_clear_password_async
Clears the password for account
from the active provider of manager
.
unstable since: 3.0
purple_credential_manager_clear_password_finish
Finishes a previous call to purple_credential_manager_clear_password_async()
.
unstable since: 3.0
purple_credential_manager_get_active
Gets the currently active PurpleCredentialProvider
or NULL
if there is no
active provider.
unstable since: 3.0
purple_credential_manager_read_password_async
Reads the password for account
using the active provider of manager
.
unstable since: 3.0
purple_credential_manager_read_password_finish
Finishes a previous call to purple_credential_manager_read_password_async()
.
unstable since: 3.0
purple_credential_manager_set_active
Changes the active provider of manager
to the provider with an id of id
.
unstable since: 3.0
purple_credential_manager_write_password_async
Writes password
for account
to the active provider of manager
.
unstable since: 3.0
purple_credential_manager_write_password_finish
Finishes a previous call to purple_credential_manager_write_password_async()
.
unstable since: 3.0
Methods inherited from GListModel (5)
Properties
Purple.CredentialManager:item-type
The type of items. See Gio.ListModelInterface.get_item_type
.
unstable since: 3.0
Purple.CredentialManager:n-items
The number of items. See Gio.ListModelInterface.get_n_items
.
unstable since: 3.0
Signals
Purple.CredentialManager::active-changed
Emitted after provider
has become the active provider for manager
.
unstable since: 3.0
Purple.CredentialManager::added
Emitted after provider
has been added to manager
.
unstable since: 3.0
Purple.CredentialManager::removed
Emitted after provider
has been removed from manager
.
unstable since: 3.0