SourceCredentialsProvider
Object Hierarchy:
Description:
[
CCode ( type_id =
"e_source_credentials_provider_get_type ()" ) ]
[
Version ( since =
"3.16" ) ]
public class SourceCredentialsProvider :
Object,
Extensible
Contains only private data that should be read and manipulated using the functions below.
Content:
Properties:
Creation methods:
Methods:
- public async bool @delete (Source source, Cancellable? cancellable) throws Error
Asynchronously deletes any previously stored credentials for source
.
- public bool can_prompt (Source source)
Returns whether a credentials prompt can be shown for the source
.
- public bool can_store (Source source)
Returns whether the source
can store its credentials.
- public bool delete_sync (Source source, Cancellable? cancellable = null) throws Error
Deletes any previously stored credentials for source
.
- public async bool lookup (Source source, Cancellable? cancellable, out NamedParameters out_credentials) throws Error
Asynchronously looks up for credentials for source
.
- public bool lookup_sync (Source source, Cancellable? cancellable, out NamedParameters out_credentials) throws Error
Looks up the credentials for source
.
- public Source? ref_credentials_source (Source source)
Returns a referenced parent
Source, which holds the credentials for the given source
.
- public Object ref_registry ()
Returns refenrenced registry associated with this
this.
- public virtual Source? ref_source (string uid)
Returns referenced
Source with the given uid
, or null
, when it could
not be found.
- public bool register_impl (SourceCredentialsProviderImpl provider_impl)
Registers a credentials provider implementation and adds its own reference
on the provider_impl
.
- public async bool store (Source source, NamedParameters credentials, bool permanently, Cancellable? cancellable) throws Error
Asynchronously stores the credentials
for source
.
- public bool store_sync (Source source, NamedParameters credentials, bool permanently, Cancellable? cancellable = null) throws Error
Stores the credentials
for source
.
- public void unregister_impl (SourceCredentialsProviderImpl provider_impl)
Unregisters previously registered provider_impl
with
register_impl.
Inherited Members:
All known members inherited from class GLib.Object
All known members inherited from interface E.Extensible