Collection.forAlias

Lookup which collection is assigned to this alias. Aliases help determine well known collections, such as 'default'.

If @service is NULL, then secret_service_get() will be called to get the default #SecretService proxy.

This method will return immediately and complete asynchronously.

class Collection
static
void
forAlias
(,
string alias_
,
SecretCollectionFlags flags
,
Cancellable cancellable
,
GAsyncReadyCallback callback
,
void* userData
)

Parameters

service Service

a secret service object

alias_ string

the alias to lookup

flags SecretCollectionFlags

options for the collection initialization

cancellable Cancellable

optional cancellation object

callback GAsyncReadyCallback

called when the operation completes

userData void*

data to pass to the callback

Meta