Collection.forAliasSync

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 classService proxy.

This method may block and should not be used in user interface threads.

Parameters

service secret.service.Service

a secret service object

alias_ string

the alias to lookup

flags secret.types.CollectionFlags

options for the collection initialization

cancellable gio.cancellable.Cancellable

optional cancellation object

Return Value

Type: secret.collection.Collection

the collection, or null if none assigned to the alias