SecretService class

Constructors

SecretService(DBusClient client, String destination, {DBusObjectPath path = const DBusObjectPath.unchecked('/org/freedesktop/secrets')})

Properties

client → DBusClient
The client this object is accessed from.
finalinherited
collectionChanged ↔ Stream<SecretServiceCollectionChanged>
Stream of org.freedesktop.Secret.Service.CollectionChanged signals.
latefinal
collectionCreated ↔ Stream<SecretServiceCollectionCreated>
Stream of org.freedesktop.Secret.Service.CollectionCreated signals.
latefinal
collectionDeleted ↔ Stream<SecretServiceCollectionDeleted>
Stream of org.freedesktop.Secret.Service.CollectionDeleted signals.
latefinal
hashCode → int
The hash code for this object.
no setterinherited
name → String
The name of the client providing this object.
finalinherited
path → DBusObjectPath
The path to the object.
finalinherited
propertiesChanged ↔ Stream<DBusPropertiesChangedSignal>
Stream of signals when the remote object indicates a property has changed.
latefinalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

callChangeLock(DBusObjectPath collection, {bool noAutoStart = false, bool allowInteractiveAuthorization = false}) → Future<DBusObjectPath>
Invokes org.freedesktop.Secret.Service.ChangeLock()
callCreateCollection(Map<String, DBusValue> properties, String alias, {bool noAutoStart = false, bool allowInteractiveAuthorization = false}) → Future<(DBusObjectPath, DBusObjectPath)>
Invokes org.freedesktop.Secret.Service.CreateCollection()
callGetSecrets(List<DBusObjectPath> items, DBusObjectPath session, {bool noAutoStart = false, bool allowInteractiveAuthorization = false}) → Future<Map<DBusObjectPath, List<DBusValue>>>
Invokes org.freedesktop.Secret.Service.GetSecrets()
callLock(List<DBusObjectPath> objects, {bool noAutoStart = false, bool allowInteractiveAuthorization = false}) → Future<(List<DBusObjectPath>, DBusObjectPath)>
Invokes org.freedesktop.Secret.Service.Lock()
callLockService({bool noAutoStart = false, bool allowInteractiveAuthorization = false}) → Future<void>
Invokes org.freedesktop.Secret.Service.LockService()
callMethod(String? interface, String name, Iterable<DBusValue> values, {DBusSignature? replySignature, bool noReplyExpected = false, bool noAutoStart = false, bool allowInteractiveAuthorization = false}) → Future<DBusMethodSuccessResponse>
Invokes a method on this object. Throws DBusMethodResponseException if the remote side returns an error.
inherited
callOpenSession(String algorithm, DBusValue input, {bool noAutoStart = false, bool allowInteractiveAuthorization = false}) → Future<(DBusValue, DBusObjectPath)>
Invokes org.freedesktop.Secret.Service.OpenSession()
callReadAlias(String name, {bool noAutoStart = false, bool allowInteractiveAuthorization = false}) → Future<DBusObjectPath>
Invokes org.freedesktop.Secret.Service.ReadAlias()
callSearchItems(Map<String, String> attributes, {bool noAutoStart = false, bool allowInteractiveAuthorization = false}) → Future<(List<DBusObjectPath>, List<DBusObjectPath>)>
Invokes org.freedesktop.Secret.Service.SearchItems()
callSetAlias(String name, DBusObjectPath collection, {bool noAutoStart = false, bool allowInteractiveAuthorization = false}) → Future<void>
Invokes org.freedesktop.Secret.Service.SetAlias()
callUnlock(List<DBusObjectPath> objects, {bool noAutoStart = false, bool allowInteractiveAuthorization = false}) → Future<(List<DBusObjectPath>, DBusObjectPath)>
Invokes org.freedesktop.Secret.Service.Unlock()
getAllProperties(String interface) → Future<Map<String, DBusValue>>
Gets the values of all the properties on this object.
inherited
getCollections() → Future<List<DBusObjectPath>>
Gets org.freedesktop.Secret.Service.Collections
getProperty(String interface, String name, {DBusSignature? signature}) → Future<DBusValue>
Gets a property on this object.
inherited
introspect() → Future<DBusIntrospectNode>
Gets the introspection data for this object.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setProperty(String interface, String name, DBusValue value) → Future<void>
Sets a property on this object.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited