store


Description:

public async bool store (Source source, NamedParameters credentials, bool permanently, Cancellable? cancellable) throws Error

Asynchronously 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 .

When the operation is finished, callback will be called. You can then call store.end to get the result of the operation.

Parameters:

this

an SourceCredentialsProvider

source

an Source, to lookup credentials for

credentials

an NamedParameters with credentials to store

permanently

store permanently or just for the session

cancellable

optional Cancellable object, or null

callback

a TaskReadyCallback to call when the request is satisfied

user_data

data to pass to the callback function




2022 vala-language.org