gosecret/consts.go

20 lines
695 B
Go
Raw Normal View History

package gosecret
2021-11-26 00:01:49 -05:00
// Libsecret/SecretService/Dbus identifiers.
2021-11-21 23:12:25 -05:00
const (
2021-11-26 00:01:49 -05:00
// DbusServiceName is the "root Dbus path" in identifier format.
DbusServiceName string = "org.freedesktop.secrets"
// DbusItemsID is the Dbus identifier for Item.
2021-11-21 23:12:25 -05:00
DbusItemsID string = "org.freedesktop.Secret.Collection.Items"
2021-11-26 00:01:49 -05:00
// DbusCollectionDelete is the Dbus identifier for Collection.Delete.
2021-11-21 23:12:25 -05:00
DbusCollectionDelete string = "org.freedesktop.Secret.Collection.Delete"
)
2021-11-26 00:01:49 -05:00
// Dbus constants and paths.
const (
2021-11-26 00:01:49 -05:00
// DbusPath is the path version of DbusServiceName.
DbusPath string = "/org/freedesktop/secrets"
// PromptPrefix is the path used for prompts comparison.
PromptPrefix string = DbusPath + "/prompt/"
)