| Top |  |  |  |  | 
GObject ╰── EExtension ╰── ESourceCredentialsProviderImpl ├── ESourceCredentialsProviderImplGoogle ╰── ESourceCredentialsProviderImplPassword
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 *cancellable,ENamedParameters **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
NULL, then it should be freed with e_anmed_parameters_free() when
no longer needed.
Default implementation returns FALSE and sets G_IO_ERROR_NOT_SUPPORTED error.
If an error occurs, the function sets error
 and returns FALSE.
| provider_impl | ||
| source | an ESource | |
| cancellable |  optional GCancellable object, or  | [allow-none] | 
| out_credentials | an ENamedParameters to be set with stored credentials. | [out] | 
| error | [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 and sets G_IO_ERROR_NOT_SUPPORTED error.
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 GCancellable object, or  | [allow-none] | 
| error | [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 and sets G_IO_ERROR_NOT_SUPPORTED error.
If an error occurs, the function sets error
 and returns FALSE.
| provider_impl | ||
| source | an ESource | |
| cancellable |  optional GCancellable object, or  | [allow-none] | 
| error | [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