store_sync


Description:

public virtual bool store_sync (Source source, NamedParameters credentials, bool permanently, Cancellable? cancellable = null) throws Error

Asks this to store credentials for source.

Default implementation returns false and sets NOT_SUPPORTED error.

If an error occurs, the function sets error and returns false.

Parameters:

this

an SourceCredentialsProviderImpl

source

an Source

credentials

an NamedParameters containing credentials to store

permanently

whether to store credentials permanently, or for the current session only

cancellable

optional Cancellable object, or null

Returns:

true on success, false on error