Secret.Service.prototype.encode_dbus_secret
function encode_dbus_secret(value: Secret.Value): GLib.Variant { // Gjs wrapper for secret_service_encode_dbus_secret() }
Encodes a Secret.Value into GVariant for use with the Secret Service DBus API.
The resulting GVariant will have a <literal>(oayays)</literal> signature.
A session must have already been established by the Secret.Service.
- value
the secret value
- Returns
the encoded secret