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
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref
All known members inherited from interface E.Extensible