| Top |
| struct _ESourceCredentialsProvider * | e_source_credentials_provider_impl_get_provider () |
|
|
e_source_credentials_provider_impl_can_process () |
|
|
e_source_credentials_provider_impl_can_store () |
|
|
e_source_credentials_provider_impl_can_prompt () |
|
|
e_source_credentials_provider_impl_lookup_sync () |
|
|
e_source_credentials_provider_impl_store_sync () |
|
|
e_source_credentials_provider_impl_delete_sync () |
struct _ESourceCredentialsProvider *
e_source_credentials_provider_impl_get_provider
(ESourceCredentialsProviderImpl *provider_impl);
Returns an ESourceCredentialsProvider with which the provider_impl
is associated.
Since: 3.16
gboolean e_source_credentials_provider_impl_can_process (ESourceCredentialsProviderImpl *provider_impl,ESource *source);
Returns whether the provider_impl
can process credentials for the source
.
Since: 3.16
gboolean e_source_credentials_provider_impl_can_store (ESourceCredentialsProviderImpl *provider_impl);
Returns whether the provider_impl
can store credentials.
Since: 3.16
gboolean e_source_credentials_provider_impl_can_prompt (ESourceCredentialsProviderImpl *provider_impl);
Returns whether credential prompt can be done for the provider_impl
.
Since: 3.16
gboolean e_source_credentials_provider_impl_lookup_sync (ESourceCredentialsProviderImpl *provider_impl,ESource *source,,GCancellable *cancellableENamedParameters **out_credentials,);GError **error
Asks provider_impl
to lookup for stored credentials for source
.
The out_credentials
is populated with them. If the result is not
NULLe_anmed_parameters_free()
Default implementation returns FALSE
If an error occurs, the function sets error
and returns FALSE
provider_impl |
||
source |
an ESource |
|
cancellable |
optional |
[allow-none] |
out_credentials |
an ENamedParameters to be set with stored credentials. |
[out] |
error |
return location for a |
[allow-none] |
Since: 3.16
gboolean e_source_credentials_provider_impl_store_sync (ESourceCredentialsProviderImpl *provider_impl,ESource *source,const ENamedParameters *credentials,,gboolean permanently,GCancellable *cancellable);GError **error
Asks provider_impl
to store credentials
for source
.
Default implementation returns FALSE
If an error occurs, the function sets error
and returns FALSE
provider_impl |
||
source |
an ESource |
|
credentials |
an ENamedParameters containing credentials to store |
|
permanently |
whether to store credentials permanently, or for the current session only |
|
cancellable |
optional |
[allow-none] |
error |
return location for a |
[allow-none] |
Since: 3.16
gboolean e_source_credentials_provider_impl_delete_sync (ESourceCredentialsProviderImpl *provider_impl,ESource *source,,GCancellable *cancellable);GError **error
Asks provider_impl
to delete any stored credentials for source
.
Default implementation returns FALSE
If an error occurs, the function sets error
and returns FALSE
provider_impl |
||
source |
an ESource |
|
cancellable |
optional |
[allow-none] |
error |
return location for a |
[allow-none] |
Since: 3.16
struct ESourceCredentialsProviderImpl {
};
Credentials provider implementation base structure. The descendants implement the virtual methods. The descendants are automatically registered into an ESourceCredentialsProvider.
Since: 3.16