Secret.Service.open
function open(service_gtype: GObject.Type, service_bus_name: String, flags: Secret.ServiceFlags, cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void { // Gjs wrapper for secret_service_open() }
Create a new Secret.Service proxy for the Secret Service.
This function is rarely used, see Secret.Service.get instead.
The service_gtype argument should be set to %SECRET_TYPE_SERVICE or a the type of a derived class.
If flags contains any flags of which parts of the secret service to ensure are initialized, then those will be initialized before returning.
If service_bus_name is null then the default is used.
This method will return immediately and complete asynchronously.
- service_gtype
the GType of the new secret service
- service_bus_name
the D-Bus service name of the secret service
- flags
flags for which service functionality to ensure is initialized
- cancellable
optional cancellation object
- callback
called when the operation completes