Interface
SecretRetrievable
Description [src]
interface Secret.Retrievable : GObject.Object
A read-only view of a secret item in the Secret Service.
SecretRetrievable
provides a read-only view of a secret item
stored in the Secret Service.
Each item has a value, represented by a SecretValue
, which can be
retrieved by secret_retrievable_retrieve_secret()
and
secret_retrievable_retrieve_secret_finish()
.
Stability: | Stable |
Available since: | 0.19.0 |
Prerequisite
In order to implement Retrievable, your type must inherit from
GObject
.
Instance methods
secret_retrievable_get_modified
Get the modified date and time of the object.
Available since: 0.19.0
secret_retrievable_retrieve_secret
Retrieve the secret value of this object.
Available since: 0.19.0
secret_retrievable_retrieve_secret_finish
Complete asynchronous operation to retrieve the secret value of this object.
Available since: 0.19.0
secret_retrievable_retrieve_secret_sync
Retrieve the secret value of this object synchronously.
Available since: 0.19.0
Properties
Secret.Retrievable:created
The date and time (in seconds since the UNIX epoch) that this item was created.
Available since: 0.19.0
Secret.Retrievable:modified
The date and time (in seconds since the UNIX epoch) that this item was last modified.
Available since: 0.19.0
Interface structure
struct SecretRetrievableInterface {
GTypeInterface parent_iface;
void (* retrieve_secret) (
SecretRetrievable* self,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
);
SecretValue* (* retrieve_secret_finish) (
SecretRetrievable* self,
GAsyncResult* result,
GError** error
);
}
Interface members
parent_iface |
|
The parent interface. |
|
retrieve_secret |
|
No description available. | |
retrieve_secret_finish |
|
No description available. |
Virtual methods
Secret.Retrievable.retrieve_secret
Retrieve the secret value of this object.
Secret.Retrievable.retrieve_secret_finish
Complete asynchronous operation to retrieve the secret value of this object.