secret_store_store_sync


Description:


[ Version ( since = "3.18" ) ]
public bool secret_store_store_sync (string uid, string secret, string label, bool permanently, Cancellable? cancellable = null) throws Error

Stores the secret for the uid.

If permanently is true, the secret is stored in the default keyring. Otherwise the secret is stored in the memory-only session keyring. If an error occurs, the function sets error and returns false.

Parameters:

uid

a unique identifier of the secret

secret

the secret to store

label

human readable description of the secret

permanently

store permanently or just for the session

cancellable

optional Cancellable object, or null

Returns:

true on success, false on error


Namespace: E