Secret.Collection.for_alias

function for_alias(service: Secret.Service, alias: String, flags: Secret.CollectionFlags, cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void {
    // Gjs wrapper for secret_collection_for_alias()
}
  

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 Secret.Service proxy.

This method will return immediately and complete asynchronously.

service

a secret service object

alias

the alias to lookup

flags

options for the collection initialization

cancellable

optional cancellation object

callback

called when the operation completes