Collection.forAliasSync
secret.collection.Collection forAliasSync(secret.service.Service service, string alias_, secret.types.CollectionFlags flags, gio.cancellable.Cancellable cancellable = null)Lookup which collection is assigned to this alias. Aliases help determine well known collections, such as default.
If service is null, then secret.service.Service.getSync will be called to get the default secret.service.Service proxy.
This method may block and should not be used in user interface threads.
Parameters
service | a secret service object |
alias_ | the alias to lookup |
flags | options for the collection initialization |
cancellable | optional cancellation object |
Returns
the collection, or null if none assigned to the alias