Secret.Service.prototype.set_alias
function set_alias(alias: String, collection: Secret.Collection, cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void { // Gjs wrapper for secret_service_set_alias() }
Assign a collection 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.
- alias
- the alias to assign the collection to 
- collection
- the collection to assign to the alias 
- cancellable
- optional cancellation object 
- callback
- called when the operation completes