store_sync


Description:

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

Stores the credentials for source.

Note the actual stored values can differ for each storage. In other words, not all named parameters are stored for each source.

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

Parameters:

this

an SourceCredentialsProvider

source

an Source, to store credentials for

credentials

an NamedParameters with credentials to store

permanently

store permanently or just for the session

cancellable

optional Cancellable object, or null

Returns:

true on success, false on error