gi-secret
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Secret.Objects.Collection

Description

A proxy object representing a collection of secrets in the Secret Service.

Collection represents a collection of secret items stored in the Secret Service.

A collection can be in a locked or unlocked state. Use [methodsecretService.lock] or [methodsecretService.unlock] to lock or unlock the collection.

Use the [propertysecretCollection:items] property or [methodsecretCollection.get_items] to lookup the items in the collection. There may not be any items exposed when the collection is locked.

Synopsis

Exported types

newtype Collection Source #

Memory-managed wrapper type.

Instances

Instances details
Eq Collection Source # 
Instance details

Defined in GI.Secret.Objects.Collection

GObject Collection Source # 
Instance details

Defined in GI.Secret.Objects.Collection

ManagedPtrNewtype Collection Source # 
Instance details

Defined in GI.Secret.Objects.Collection

TypedObject Collection Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

glibType :: IO GType #

HasParentTypes Collection Source # 
Instance details

Defined in GI.Secret.Objects.Collection

HasAttributeList Collection Source # 
Instance details

Defined in GI.Secret.Objects.Collection

(info ~ ResolveCollectionMethod t Collection, OverloadedMethod info Collection p, HasField t Collection p) => HasField (t :: Symbol) Collection p Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

getField :: Collection -> p #

(info ~ ResolveCollectionMethod t Collection, OverloadedMethodInfo info Collection) => IsLabel t (MethodProxy info Collection) Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

fromLabel :: MethodProxy info Collection #

(info ~ ResolveCollectionMethod t Collection, OverloadedMethod info Collection p) => IsLabel t (Collection -> p) Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

fromLabel :: Collection -> p #

IsGValue (Maybe Collection) Source #

Convert Collection to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Secret.Objects.Collection

type AttributeList Collection Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttributeList Collection
type ParentTypes Collection Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type ParentTypes Collection = '[DBusProxy, Object, AsyncInitable, DBusInterface, Initable]
type SignalList Collection Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type SignalList Collection

class (GObject o, IsDescendantOf Collection o) => IsCollection o Source #

Type class for types which can be safely cast to Collection, for instance with toCollection.

Instances

Instances details
(GObject o, IsDescendantOf Collection o) => IsCollection o Source # 
Instance details

Defined in GI.Secret.Objects.Collection

toCollection :: (MonadIO m, IsCollection o) => o -> m Collection Source #

Cast to Collection, for types for which this is known to be safe. For general casts, use castTo.

Methods

type family ResolveCollectionMethod (t :: Symbol) o where ... Source #

Equations

ResolveCollectionMethod "bindProperty" o = ObjectBindPropertyMethodInfo 
ResolveCollectionMethod "bindPropertyFull" o = ObjectBindPropertyFullMethodInfo 
ResolveCollectionMethod "call" o = DBusProxyCallMethodInfo 
ResolveCollectionMethod "callFinish" o = DBusProxyCallFinishMethodInfo 
ResolveCollectionMethod "callSync" o = DBusProxyCallSyncMethodInfo 
ResolveCollectionMethod "callWithUnixFdList" o = DBusProxyCallWithUnixFdListMethodInfo 
ResolveCollectionMethod "callWithUnixFdListFinish" o = DBusProxyCallWithUnixFdListFinishMethodInfo 
ResolveCollectionMethod "callWithUnixFdListSync" o = DBusProxyCallWithUnixFdListSyncMethodInfo 
ResolveCollectionMethod "delete" o = CollectionDeleteMethodInfo 
ResolveCollectionMethod "deleteFinish" o = CollectionDeleteFinishMethodInfo 
ResolveCollectionMethod "deleteSync" o = CollectionDeleteSyncMethodInfo 
ResolveCollectionMethod "forceFloating" o = ObjectForceFloatingMethodInfo 
ResolveCollectionMethod "freezeNotify" o = ObjectFreezeNotifyMethodInfo 
ResolveCollectionMethod "getv" o = ObjectGetvMethodInfo 
ResolveCollectionMethod "init" o = InitableInitMethodInfo 
ResolveCollectionMethod "initAsync" o = AsyncInitableInitAsyncMethodInfo 
ResolveCollectionMethod "initFinish" o = AsyncInitableInitFinishMethodInfo 
ResolveCollectionMethod "isFloating" o = ObjectIsFloatingMethodInfo 
ResolveCollectionMethod "loadItems" o = CollectionLoadItemsMethodInfo 
ResolveCollectionMethod "loadItemsFinish" o = CollectionLoadItemsFinishMethodInfo 
ResolveCollectionMethod "loadItemsSync" o = CollectionLoadItemsSyncMethodInfo 
ResolveCollectionMethod "notify" o = ObjectNotifyMethodInfo 
ResolveCollectionMethod "notifyByPspec" o = ObjectNotifyByPspecMethodInfo 
ResolveCollectionMethod "ref" o = ObjectRefMethodInfo 
ResolveCollectionMethod "refSink" o = ObjectRefSinkMethodInfo 
ResolveCollectionMethod "refresh" o = CollectionRefreshMethodInfo 
ResolveCollectionMethod "runDispose" o = ObjectRunDisposeMethodInfo 
ResolveCollectionMethod "search" o = CollectionSearchMethodInfo 
ResolveCollectionMethod "searchFinish" o = CollectionSearchFinishMethodInfo 
ResolveCollectionMethod "searchSync" o = CollectionSearchSyncMethodInfo 
ResolveCollectionMethod "stealData" o = ObjectStealDataMethodInfo 
ResolveCollectionMethod "stealQdata" o = ObjectStealQdataMethodInfo 
ResolveCollectionMethod "thawNotify" o = ObjectThawNotifyMethodInfo 
ResolveCollectionMethod "unref" o = ObjectUnrefMethodInfo 
ResolveCollectionMethod "watchClosure" o = ObjectWatchClosureMethodInfo 
ResolveCollectionMethod "getCachedProperty" o = DBusProxyGetCachedPropertyMethodInfo 
ResolveCollectionMethod "getCachedPropertyNames" o = DBusProxyGetCachedPropertyNamesMethodInfo 
ResolveCollectionMethod "getConnection" o = DBusProxyGetConnectionMethodInfo 
ResolveCollectionMethod "getCreated" o = CollectionGetCreatedMethodInfo 
ResolveCollectionMethod "getData" o = ObjectGetDataMethodInfo 
ResolveCollectionMethod "getDefaultTimeout" o = DBusProxyGetDefaultTimeoutMethodInfo 
ResolveCollectionMethod "getFlags" o = CollectionGetFlagsMethodInfo 
ResolveCollectionMethod "getInfo" o = DBusInterfaceGetInfoMethodInfo 
ResolveCollectionMethod "getInterfaceInfo" o = DBusProxyGetInterfaceInfoMethodInfo 
ResolveCollectionMethod "getInterfaceName" o = DBusProxyGetInterfaceNameMethodInfo 
ResolveCollectionMethod "getItems" o = CollectionGetItemsMethodInfo 
ResolveCollectionMethod "getLabel" o = CollectionGetLabelMethodInfo 
ResolveCollectionMethod "getLocked" o = CollectionGetLockedMethodInfo 
ResolveCollectionMethod "getModified" o = CollectionGetModifiedMethodInfo 
ResolveCollectionMethod "getName" o = DBusProxyGetNameMethodInfo 
ResolveCollectionMethod "getNameOwner" o = DBusProxyGetNameOwnerMethodInfo 
ResolveCollectionMethod "getObject" o = DBusInterfaceGetObjectMethodInfo 
ResolveCollectionMethod "getObjectPath" o = DBusProxyGetObjectPathMethodInfo 
ResolveCollectionMethod "getProperty" o = ObjectGetPropertyMethodInfo 
ResolveCollectionMethod "getQdata" o = ObjectGetQdataMethodInfo 
ResolveCollectionMethod "getService" o = CollectionGetServiceMethodInfo 
ResolveCollectionMethod "setCachedProperty" o = DBusProxySetCachedPropertyMethodInfo 
ResolveCollectionMethod "setData" o = ObjectSetDataMethodInfo 
ResolveCollectionMethod "setDataFull" o = ObjectSetDataFullMethodInfo 
ResolveCollectionMethod "setDefaultTimeout" o = DBusProxySetDefaultTimeoutMethodInfo 
ResolveCollectionMethod "setInterfaceInfo" o = DBusProxySetInterfaceInfoMethodInfo 
ResolveCollectionMethod "setLabel" o = CollectionSetLabelMethodInfo 
ResolveCollectionMethod "setLabelFinish" o = CollectionSetLabelFinishMethodInfo 
ResolveCollectionMethod "setLabelSync" o = CollectionSetLabelSyncMethodInfo 
ResolveCollectionMethod "setObject" o = DBusInterfaceSetObjectMethodInfo 
ResolveCollectionMethod "setProperty" o = ObjectSetPropertyMethodInfo 
ResolveCollectionMethod l o = MethodResolutionFailed l o :: Type 

create

collectionCreate Source #

Arguments

:: (HasCallStack, MonadIO m, IsService a, IsCancellable b) 
=> Maybe a

service: a secret service object

-> Text

label: label for the new collection

-> Maybe Text

alias: alias to assign to the collection

-> [CollectionCreateFlags]

flags: currently unused

-> Maybe b

cancellable: optional cancellation object

-> Maybe AsyncReadyCallback

callback: called when the operation completes

-> m () 

Create a new collection in the secret service.

This method returns immediately and completes asynchronously. The secret service may prompt the user. [methodservice.prompt] will be used to handle any prompts that are required.

An alias is a well-known tag for a collection, such as 'default' (ie: the default collection to store items in). This allows other applications to easily identify and share a collection. If you specify an alias, and a collection with that alias already exists, then a new collection will not be created. The previous one will be returned instead.

If service is Nothing, then Service.get will be called to get the default [classservice] proxy.

createFinish

collectionCreateFinish Source #

Arguments

:: (HasCallStack, MonadIO m, IsAsyncResult a) 
=> a

result: the asynchronous result passed to the callback

-> m Collection

Returns: the new collection, which should be unreferenced with objectUnref (Can throw GError)

Finish operation to create a new collection in the secret service.

createSync

collectionCreateSync Source #

Arguments

:: (HasCallStack, MonadIO m, IsService a, IsCancellable b) 
=> Maybe a

service: a secret service object

-> Text

label: label for the new collection

-> Maybe Text

alias: alias to assign to the collection

-> [CollectionCreateFlags]

flags: currently unused

-> Maybe b

cancellable: optional cancellation object

-> m Collection

Returns: the new collection, which should be unreferenced with objectUnref (Can throw GError)

Create a new collection in the secret service.

This method may block indefinitely and should not be used in user interface threads. The secret service may prompt the user. [methodservice.prompt] will be used to handle any prompts that are required.

An alias is a well-known tag for a collection, such as default (ie: the default collection to store items in). This allows other applications to easily identify and share a collection. If you specify an alias, and a collection with that alias already exists, then a new collection will not be created. The previous one will be returned instead.

If service is Nothing, then Service.get_sync will be called to get the default [classservice] proxy.

delete

data CollectionDeleteMethodInfo Source #

Instances

Instances details
(signature ~ (Maybe b -> Maybe AsyncReadyCallback -> m ()), MonadIO m, IsCollection a, IsCancellable b) => OverloadedMethod CollectionDeleteMethodInfo a signature Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethod :: a -> signature

OverloadedMethodInfo CollectionDeleteMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

collectionDelete Source #

Arguments

:: (HasCallStack, MonadIO m, IsCollection a, IsCancellable b) 
=> a

self: a collection

-> Maybe b

cancellable: optional cancellation object

-> Maybe AsyncReadyCallback

callback: called when the operation completes

-> m () 

Delete this collection.

This method returns immediately and completes asynchronously. The secret service may prompt the user. [methodservice.prompt] will be used to handle any prompts that show up.

deleteFinish

data CollectionDeleteFinishMethodInfo Source #

Instances

Instances details
(signature ~ (b -> m ()), MonadIO m, IsCollection a, IsAsyncResult b) => OverloadedMethod CollectionDeleteFinishMethodInfo a signature Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethod :: a -> signature

OverloadedMethodInfo CollectionDeleteFinishMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

collectionDeleteFinish Source #

Arguments

:: (HasCallStack, MonadIO m, IsCollection a, IsAsyncResult b) 
=> a

self: a collection

-> b

result: asynchronous result passed to the callback

-> m ()

(Can throw GError)

Complete operation to delete this collection.

deleteSync

data CollectionDeleteSyncMethodInfo Source #

Instances

Instances details
(signature ~ (Maybe b -> m ()), MonadIO m, IsCollection a, IsCancellable b) => OverloadedMethod CollectionDeleteSyncMethodInfo a signature Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethod :: a -> signature

OverloadedMethodInfo CollectionDeleteSyncMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

collectionDeleteSync Source #

Arguments

:: (HasCallStack, MonadIO m, IsCollection a, IsCancellable b) 
=> a

self: a collection

-> Maybe b

cancellable: optional cancellation object

-> m ()

(Can throw GError)

Delete this collection.

This method may block indefinitely and should not be used in user interface threads. The secret service may prompt the user. [methodservice.prompt] will be used to handle any prompts that show up.

forAlias

collectionForAlias Source #

Arguments

:: (HasCallStack, MonadIO m, IsService a, IsCancellable b) 
=> Maybe a

service: a secret service object

-> Text

alias: the alias to lookup

-> [CollectionFlags]

flags: options for the collection initialization

-> Maybe b

cancellable: optional cancellation object

-> Maybe AsyncReadyCallback

callback: called when the operation completes

-> m () 

Lookup which collection is assigned to this alias. Aliases help determine well known collections, such as 'default'.

If service is Nothing, then Service.get will be called to get the default [classservice] proxy.

This method will return immediately and complete asynchronously.

forAliasFinish

collectionForAliasFinish Source #

Arguments

:: (HasCallStack, MonadIO m, IsAsyncResult a) 
=> a

result: asynchronous result passed to callback

-> m (Maybe Collection)

Returns: the collection, or Nothing if none assigned to the alias (Can throw GError)

Finish an asynchronous operation to lookup which collection is assigned to an alias.

forAliasSync

collectionForAliasSync Source #

Arguments

:: (HasCallStack, MonadIO m, IsService a, IsCancellable b) 
=> Maybe a

service: a secret service object

-> Text

alias: the alias to lookup

-> [CollectionFlags]

flags: options for the collection initialization

-> Maybe b

cancellable: optional cancellation object

-> m (Maybe Collection)

Returns: the collection, or Nothing if none assigned to the alias (Can throw GError)

Lookup which collection is assigned to this alias. Aliases help determine well known collections, such as default.

If service is Nothing, then Service.get_sync will be called to get the default [classservice] proxy.

This method may block and should not be used in user interface threads.

getCreated

data CollectionGetCreatedMethodInfo Source #

Instances

Instances details
(signature ~ m Word64, MonadIO m, IsCollection a) => OverloadedMethod CollectionGetCreatedMethodInfo a signature Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethod :: a -> signature

OverloadedMethodInfo CollectionGetCreatedMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

collectionGetCreated Source #

Arguments

:: (HasCallStack, MonadIO m, IsCollection a) 
=> a

self: a collection

-> m Word64

Returns: the created date and time

Get the created date and time of the collection.

The return value is the number of seconds since the unix epoch, January 1st 1970.

getFlags

data CollectionGetFlagsMethodInfo Source #

Instances

Instances details
(signature ~ m [CollectionFlags], MonadIO m, IsCollection a) => OverloadedMethod CollectionGetFlagsMethodInfo a signature Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethod :: a -> signature

OverloadedMethodInfo CollectionGetFlagsMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

collectionGetFlags Source #

Arguments

:: (HasCallStack, MonadIO m, IsCollection a) 
=> a

self: the secret collection proxy

-> m [CollectionFlags]

Returns: the flags for features initialized

Get the flags representing what features of the Collection proxy have been initialized.

Use [methodcollection.load_items] to initialize further features and change the flags.

getItems

data CollectionGetItemsMethodInfo Source #

Instances

Instances details
(signature ~ m [Item], MonadIO m, IsCollection a) => OverloadedMethod CollectionGetItemsMethodInfo a signature Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethod :: a -> signature

OverloadedMethodInfo CollectionGetItemsMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

collectionGetItems Source #

Arguments

:: (HasCallStack, MonadIO m, IsCollection a) 
=> a

self: a collection

-> m [Item]

Returns: a list of items, when done, the list should be freed with List.free(), and each item should be released with objectUnref

Get the list of items in this collection.

getLabel

data CollectionGetLabelMethodInfo Source #

Instances

Instances details
(signature ~ m Text, MonadIO m, IsCollection a) => OverloadedMethod CollectionGetLabelMethodInfo a signature Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethod :: a -> signature

OverloadedMethodInfo CollectionGetLabelMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

collectionGetLabel Source #

Arguments

:: (HasCallStack, MonadIO m, IsCollection a) 
=> a

self: a collection

-> m Text

Returns: the label, which should be freed with free

Get the label of this collection.

getLocked

data CollectionGetLockedMethodInfo Source #

Instances

Instances details
(signature ~ m Bool, MonadIO m, IsCollection a) => OverloadedMethod CollectionGetLockedMethodInfo a signature Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethod :: a -> signature

OverloadedMethodInfo CollectionGetLockedMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

collectionGetLocked Source #

Arguments

:: (HasCallStack, MonadIO m, IsCollection a) 
=> a

self: a collection

-> m Bool

Returns: whether the collection is locked or not

Get whether the collection is locked or not.

Use [methodservice.lock] or [methodservice.unlock] to lock or unlock the collection.

getModified

data CollectionGetModifiedMethodInfo Source #

Instances

Instances details
(signature ~ m Word64, MonadIO m, IsCollection a) => OverloadedMethod CollectionGetModifiedMethodInfo a signature Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethod :: a -> signature

OverloadedMethodInfo CollectionGetModifiedMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

collectionGetModified Source #

Arguments

:: (HasCallStack, MonadIO m, IsCollection a) 
=> a

self: a collection

-> m Word64

Returns: the modified date and time

Get the modified date and time of the collection.

The return value is the number of seconds since the unix epoch, January 1st 1970.

getService

data CollectionGetServiceMethodInfo Source #

Instances

Instances details
(signature ~ m Service, MonadIO m, IsCollection a) => OverloadedMethod CollectionGetServiceMethodInfo a signature Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethod :: a -> signature

OverloadedMethodInfo CollectionGetServiceMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

collectionGetService Source #

Arguments

:: (HasCallStack, MonadIO m, IsCollection a) 
=> a

self: a collection

-> m Service

Returns: the Secret Service object

Get the Secret Service object that this collection was created with.

loadItems

data CollectionLoadItemsMethodInfo Source #

Instances

Instances details
(signature ~ (Maybe b -> Maybe AsyncReadyCallback -> m ()), MonadIO m, IsCollection a, IsCancellable b) => OverloadedMethod CollectionLoadItemsMethodInfo a signature Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethod :: a -> signature

OverloadedMethodInfo CollectionLoadItemsMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

collectionLoadItems Source #

Arguments

:: (HasCallStack, MonadIO m, IsCollection a, IsCancellable b) 
=> a

self: the secret collection

-> Maybe b

cancellable: optional cancellation object

-> Maybe AsyncReadyCallback

callback: called when the operation completes

-> m () 

Ensure that the Collection proxy has loaded all the items present in the Secret Service.

This affects the result of [methodcollection.get_items].

For collections returned from [methodservice.get_collections] the items will have already been loaded.

This method will return immediately and complete asynchronously.

loadItemsFinish

data CollectionLoadItemsFinishMethodInfo Source #

Instances

Instances details
(signature ~ (b -> m ()), MonadIO m, IsCollection a, IsAsyncResult b) => OverloadedMethod CollectionLoadItemsFinishMethodInfo a signature Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethod :: a -> signature

OverloadedMethodInfo CollectionLoadItemsFinishMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

collectionLoadItemsFinish Source #

Arguments

:: (HasCallStack, MonadIO m, IsCollection a, IsAsyncResult b) 
=> a

self: the secret collection

-> b

result: the asynchronous result passed to the callback

-> m ()

(Can throw GError)

Complete an asynchronous operation to ensure that the Collection proxy has loaded all the items present in the Secret Service.

loadItemsSync

data CollectionLoadItemsSyncMethodInfo Source #

Instances

Instances details
(signature ~ (Maybe b -> m ()), MonadIO m, IsCollection a, IsCancellable b) => OverloadedMethod CollectionLoadItemsSyncMethodInfo a signature Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethod :: a -> signature

OverloadedMethodInfo CollectionLoadItemsSyncMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

collectionLoadItemsSync Source #

Arguments

:: (HasCallStack, MonadIO m, IsCollection a, IsCancellable b) 
=> a

self: the secret collection

-> Maybe b

cancellable: optional cancellation object

-> m ()

(Can throw GError)

Ensure that the Collection proxy has loaded all the items present in the Secret Service. This affects the result of [methodcollection.get_items].

For collections returned from [methodservice.get_collections] the items will have already been loaded.

This method may block indefinitely and should not be used in user interface threads.

refresh

data CollectionRefreshMethodInfo Source #

Instances

Instances details
(signature ~ m (), MonadIO m, IsCollection a) => OverloadedMethod CollectionRefreshMethodInfo a signature Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethod :: a -> signature

OverloadedMethodInfo CollectionRefreshMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

collectionRefresh Source #

Arguments

:: (HasCallStack, MonadIO m, IsCollection a) 
=> a

self: the collection

-> m () 

Refresh the properties on this collection. This fires off a request to refresh, and the properties will be updated later.

Calling this method is not normally necessary, as the secret service will notify the client when properties change.

search

data CollectionSearchMethodInfo Source #

Instances

Instances details
(signature ~ (Maybe Schema -> Map Text Text -> [SearchFlags] -> Maybe b -> Maybe AsyncReadyCallback -> m ()), MonadIO m, IsCollection a, IsCancellable b) => OverloadedMethod CollectionSearchMethodInfo a signature Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethod :: a -> signature

OverloadedMethodInfo CollectionSearchMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

collectionSearch Source #

Arguments

:: (HasCallStack, MonadIO m, IsCollection a, IsCancellable b) 
=> a

self: a secret collection

-> Maybe Schema

schema: the schema for the attributes

-> Map Text Text

attributes: search for items matching these attributes

-> [SearchFlags]

flags: search option flags

-> Maybe b

cancellable: optional cancellation object

-> Maybe AsyncReadyCallback

callback: called when the operation completes

-> m () 

Search for items matching the attributes in the collection. The attributes should be a table of string keys and string values.

If SearchFlagsAll is set in flags, then all the items matching the search will be returned. Otherwise only the first item will be returned. This is almost always the unlocked item that was most recently stored.

If SearchFlagsUnlock is set in flags, then items will be unlocked if necessary. In either case, locked and unlocked items will match the search and be returned. If the unlock fails, the search does not fail.

If SearchFlagsLoadSecrets is set in flags, then the items will have their secret values loaded and available via [methoditem.get_secret].

This function returns immediately and completes asynchronously.

searchFinish

data CollectionSearchFinishMethodInfo Source #

Instances

Instances details
(signature ~ (b -> m [Item]), MonadIO m, IsCollection a, IsAsyncResult b) => OverloadedMethod CollectionSearchFinishMethodInfo a signature Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethod :: a -> signature

OverloadedMethodInfo CollectionSearchFinishMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

collectionSearchFinish Source #

Arguments

:: (HasCallStack, MonadIO m, IsCollection a, IsAsyncResult b) 
=> a

self: the secret collection

-> b

result: asynchronous result passed to callback

-> m [Item]

Returns: a list of items that matched the search (Can throw GError)

Complete asynchronous operation to search for items in a collection.

searchSync

data CollectionSearchSyncMethodInfo Source #

Instances

Instances details
(signature ~ (Maybe Schema -> Map Text Text -> [SearchFlags] -> Maybe b -> m [Item]), MonadIO m, IsCollection a, IsCancellable b) => OverloadedMethod CollectionSearchSyncMethodInfo a signature Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethod :: a -> signature

OverloadedMethodInfo CollectionSearchSyncMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

collectionSearchSync Source #

Arguments

:: (HasCallStack, MonadIO m, IsCollection a, IsCancellable b) 
=> a

self: a secret collection

-> Maybe Schema

schema: the schema for the attributes

-> Map Text Text

attributes: search for items matching these attributes

-> [SearchFlags]

flags: search option flags

-> Maybe b

cancellable: optional cancellation object

-> m [Item]

Returns: a list of items that matched the search (Can throw GError)

Search for items matching the attributes in the collection. The attributes should be a table of string keys and string values.

If SearchFlagsAll is set in flags, then all the items matching the search will be returned. Otherwise only the first item will be returned. This is almost always the unlocked item that was most recently stored.

If SearchFlagsUnlock is set in flags, then items will be unlocked if necessary. In either case, locked and unlocked items will match the search and be returned. If the unlock fails, the search does not fail.

If SearchFlagsLoadSecrets is set in flags, then the items will have their secret values loaded and available via [methoditem.get_secret].

This function may block indefinitely. Use the asynchronous version in user interface threads.

setLabel

data CollectionSetLabelMethodInfo Source #

Instances

Instances details
(signature ~ (Text -> Maybe b -> Maybe AsyncReadyCallback -> m ()), MonadIO m, IsCollection a, IsCancellable b) => OverloadedMethod CollectionSetLabelMethodInfo a signature Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethod :: a -> signature

OverloadedMethodInfo CollectionSetLabelMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

collectionSetLabel Source #

Arguments

:: (HasCallStack, MonadIO m, IsCollection a, IsCancellable b) 
=> a

self: a collection

-> Text

label: a new label

-> Maybe b

cancellable: optional cancellation object

-> Maybe AsyncReadyCallback

callback: called when the operation completes

-> m () 

Set the label of this collection.

This function returns immediately and completes asynchronously.

setLabelFinish

data CollectionSetLabelFinishMethodInfo Source #

Instances

Instances details
(signature ~ (b -> m ()), MonadIO m, IsCollection a, IsAsyncResult b) => OverloadedMethod CollectionSetLabelFinishMethodInfo a signature Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethod :: a -> signature

OverloadedMethodInfo CollectionSetLabelFinishMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

collectionSetLabelFinish Source #

Arguments

:: (HasCallStack, MonadIO m, IsCollection a, IsAsyncResult b) 
=> a

self: a collection

-> b

result: asynchronous result passed to callback

-> m ()

(Can throw GError)

Complete asynchronous operation to set the label of this collection.

setLabelSync

data CollectionSetLabelSyncMethodInfo Source #

Instances

Instances details
(signature ~ (Text -> Maybe b -> m ()), MonadIO m, IsCollection a, IsCancellable b) => OverloadedMethod CollectionSetLabelSyncMethodInfo a signature Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethod :: a -> signature

OverloadedMethodInfo CollectionSetLabelSyncMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

collectionSetLabelSync Source #

Arguments

:: (HasCallStack, MonadIO m, IsCollection a, IsCancellable b) 
=> a

self: a collection

-> Text

label: a new label

-> Maybe b

cancellable: optional cancellation object

-> m ()

(Can throw GError)

Set the label of this collection.

This function may block indefinitely. Use the asynchronous version in user interface threads.

Properties

created

The date and time (in seconds since the UNIX epoch) that this collection was created.

data CollectionCreatedPropertyInfo Source #

Instances

Instances details
AttrInfo CollectionCreatedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Associated Types

type AttrAllowedOps CollectionCreatedPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrAllowedOps CollectionCreatedPropertyInfo = '['AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint CollectionCreatedPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrBaseTypeConstraint CollectionCreatedPropertyInfo = IsCollection
type AttrGetType CollectionCreatedPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrSetTypeConstraint CollectionCreatedPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrSetTypeConstraint CollectionCreatedPropertyInfo = Type ~ Word64
type AttrTransferTypeConstraint CollectionCreatedPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrTransferTypeConstraint CollectionCreatedPropertyInfo = Type ~ Word64
type AttrTransferType CollectionCreatedPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrTransferType CollectionCreatedPropertyInfo = Word64
type AttrLabel CollectionCreatedPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrLabel CollectionCreatedPropertyInfo = "created"
type AttrOrigin CollectionCreatedPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

attrGet :: AttrBaseTypeConstraint CollectionCreatedPropertyInfo o => o -> IO (AttrGetType CollectionCreatedPropertyInfo)

attrSet :: (AttrBaseTypeConstraint CollectionCreatedPropertyInfo o, AttrSetTypeConstraint CollectionCreatedPropertyInfo b) => o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint CollectionCreatedPropertyInfo o => o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint CollectionCreatedPropertyInfo o, AttrSetTypeConstraint CollectionCreatedPropertyInfo b) => b -> IO (GValueConstruct o)

attrTransfer :: (AttrBaseTypeConstraint CollectionCreatedPropertyInfo o, AttrTransferTypeConstraint CollectionCreatedPropertyInfo b) => Proxy o -> b -> IO (AttrTransferType CollectionCreatedPropertyInfo)

dbgAttrInfo :: Maybe ResolvedSymbolInfo

type AttrAllowedOps CollectionCreatedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrAllowedOps CollectionCreatedPropertyInfo = '['AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint CollectionCreatedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrBaseTypeConstraint CollectionCreatedPropertyInfo = IsCollection
type AttrGetType CollectionCreatedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrLabel CollectionCreatedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrLabel CollectionCreatedPropertyInfo = "created"
type AttrOrigin CollectionCreatedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrSetTypeConstraint CollectionCreatedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrSetTypeConstraint CollectionCreatedPropertyInfo = Type ~ Word64
type AttrTransferType CollectionCreatedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrTransferType CollectionCreatedPropertyInfo = Word64
type AttrTransferTypeConstraint CollectionCreatedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrTransferTypeConstraint CollectionCreatedPropertyInfo = Type ~ Word64

collectionCreated :: AttrLabelProxy "created" Source #

constructCollectionCreated :: (IsCollection o, MonadIO m) => Word64 -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “created” property. This is rarely needed directly, but it is used by new.

getCollectionCreated :: (MonadIO m, IsCollection o) => o -> m Word64 Source #

Get the value of the “created” property. When overloading is enabled, this is equivalent to

get collection #created

setCollectionCreated :: (MonadIO m, IsCollection o) => o -> Word64 -> m () Source #

Set the value of the “created” property. When overloading is enabled, this is equivalent to

set collection [ #created := value ]

flags

A set of flags describing which parts of the secret collection have been initialized.

data CollectionFlagsPropertyInfo Source #

Instances

Instances details
AttrInfo CollectionFlagsPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Associated Types

type AttrAllowedOps CollectionFlagsPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrAllowedOps CollectionFlagsPropertyInfo = '['AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint CollectionFlagsPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrBaseTypeConstraint CollectionFlagsPropertyInfo = IsCollection
type AttrGetType CollectionFlagsPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrSetTypeConstraint CollectionFlagsPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrSetTypeConstraint CollectionFlagsPropertyInfo = Type ~ [CollectionFlags]
type AttrTransferTypeConstraint CollectionFlagsPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrTransferTypeConstraint CollectionFlagsPropertyInfo = Type ~ [CollectionFlags]
type AttrTransferType CollectionFlagsPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrLabel CollectionFlagsPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrLabel CollectionFlagsPropertyInfo = "flags"
type AttrOrigin CollectionFlagsPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

attrGet :: AttrBaseTypeConstraint CollectionFlagsPropertyInfo o => o -> IO (AttrGetType CollectionFlagsPropertyInfo)

attrSet :: (AttrBaseTypeConstraint CollectionFlagsPropertyInfo o, AttrSetTypeConstraint CollectionFlagsPropertyInfo b) => o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint CollectionFlagsPropertyInfo o => o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint CollectionFlagsPropertyInfo o, AttrSetTypeConstraint CollectionFlagsPropertyInfo b) => b -> IO (GValueConstruct o)

attrTransfer :: (AttrBaseTypeConstraint CollectionFlagsPropertyInfo o, AttrTransferTypeConstraint CollectionFlagsPropertyInfo b) => Proxy o -> b -> IO (AttrTransferType CollectionFlagsPropertyInfo)

dbgAttrInfo :: Maybe ResolvedSymbolInfo

type AttrAllowedOps CollectionFlagsPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrAllowedOps CollectionFlagsPropertyInfo = '['AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint CollectionFlagsPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrBaseTypeConstraint CollectionFlagsPropertyInfo = IsCollection
type AttrGetType CollectionFlagsPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrLabel CollectionFlagsPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrLabel CollectionFlagsPropertyInfo = "flags"
type AttrOrigin CollectionFlagsPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrSetTypeConstraint CollectionFlagsPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrSetTypeConstraint CollectionFlagsPropertyInfo = Type ~ [CollectionFlags]
type AttrTransferType CollectionFlagsPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrTransferTypeConstraint CollectionFlagsPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrTransferTypeConstraint CollectionFlagsPropertyInfo = Type ~ [CollectionFlags]

collectionFlags :: AttrLabelProxy "flags" Source #

constructCollectionFlags :: (IsCollection o, MonadIO m) => [CollectionFlags] -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “flags” property. This is rarely needed directly, but it is used by new.

getCollectionFlags :: (MonadIO m, IsCollection o) => o -> m [CollectionFlags] Source #

Get the value of the “flags” property. When overloading is enabled, this is equivalent to

get collection #flags

label

The human readable label for the collection.

Setting this property will result in the label of the collection being set asynchronously. To properly track the changing of the label use the [methodcollection.set_label] function.

data CollectionLabelPropertyInfo Source #

Instances

Instances details
AttrInfo CollectionLabelPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Associated Types

type AttrAllowedOps CollectionLabelPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrAllowedOps CollectionLabelPropertyInfo = '['AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint CollectionLabelPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrBaseTypeConstraint CollectionLabelPropertyInfo = IsCollection
type AttrGetType CollectionLabelPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrSetTypeConstraint CollectionLabelPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrSetTypeConstraint CollectionLabelPropertyInfo = Type ~ Text
type AttrTransferTypeConstraint CollectionLabelPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrTransferTypeConstraint CollectionLabelPropertyInfo = Type ~ Text
type AttrTransferType CollectionLabelPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrTransferType CollectionLabelPropertyInfo = Text
type AttrLabel CollectionLabelPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrLabel CollectionLabelPropertyInfo = "label"
type AttrOrigin CollectionLabelPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

attrGet :: AttrBaseTypeConstraint CollectionLabelPropertyInfo o => o -> IO (AttrGetType CollectionLabelPropertyInfo)

attrSet :: (AttrBaseTypeConstraint CollectionLabelPropertyInfo o, AttrSetTypeConstraint CollectionLabelPropertyInfo b) => o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint CollectionLabelPropertyInfo o => o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint CollectionLabelPropertyInfo o, AttrSetTypeConstraint CollectionLabelPropertyInfo b) => b -> IO (GValueConstruct o)

attrTransfer :: (AttrBaseTypeConstraint CollectionLabelPropertyInfo o, AttrTransferTypeConstraint CollectionLabelPropertyInfo b) => Proxy o -> b -> IO (AttrTransferType CollectionLabelPropertyInfo)

dbgAttrInfo :: Maybe ResolvedSymbolInfo

type AttrAllowedOps CollectionLabelPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrAllowedOps CollectionLabelPropertyInfo = '['AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint CollectionLabelPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrBaseTypeConstraint CollectionLabelPropertyInfo = IsCollection
type AttrGetType CollectionLabelPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrLabel CollectionLabelPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrLabel CollectionLabelPropertyInfo = "label"
type AttrOrigin CollectionLabelPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrSetTypeConstraint CollectionLabelPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrSetTypeConstraint CollectionLabelPropertyInfo = Type ~ Text
type AttrTransferType CollectionLabelPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrTransferType CollectionLabelPropertyInfo = Text
type AttrTransferTypeConstraint CollectionLabelPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrTransferTypeConstraint CollectionLabelPropertyInfo = Type ~ Text

clearCollectionLabel :: (MonadIO m, IsCollection o) => o -> m () Source #

Set the value of the “label” property to Nothing. When overloading is enabled, this is equivalent to

clear #label

collectionLabel :: AttrLabelProxy "label" Source #

constructCollectionLabel :: (IsCollection o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “label” property. This is rarely needed directly, but it is used by new.

getCollectionLabel :: (MonadIO m, IsCollection o) => o -> m (Maybe Text) Source #

Get the value of the “label” property. When overloading is enabled, this is equivalent to

get collection #label

setCollectionLabel :: (MonadIO m, IsCollection o) => o -> Text -> m () Source #

Set the value of the “label” property. When overloading is enabled, this is equivalent to

set collection [ #label := value ]

locked

Whether the collection is locked or not.

To lock or unlock a collection use the [methodservice.lock] or [methodservice.unlock] functions.

data CollectionLockedPropertyInfo Source #

Instances

Instances details
AttrInfo CollectionLockedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Associated Types

type AttrAllowedOps CollectionLockedPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrAllowedOps CollectionLockedPropertyInfo = '['AttrGet]
type AttrBaseTypeConstraint CollectionLockedPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrBaseTypeConstraint CollectionLockedPropertyInfo = IsCollection
type AttrGetType CollectionLockedPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrSetTypeConstraint CollectionLockedPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrSetTypeConstraint CollectionLockedPropertyInfo = Type ~ ()
type AttrTransferTypeConstraint CollectionLockedPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrTransferTypeConstraint CollectionLockedPropertyInfo = Type ~ ()
type AttrTransferType CollectionLockedPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrTransferType CollectionLockedPropertyInfo = ()
type AttrLabel CollectionLockedPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrLabel CollectionLockedPropertyInfo = "locked"
type AttrOrigin CollectionLockedPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

attrGet :: AttrBaseTypeConstraint CollectionLockedPropertyInfo o => o -> IO (AttrGetType CollectionLockedPropertyInfo)

attrSet :: (AttrBaseTypeConstraint CollectionLockedPropertyInfo o, AttrSetTypeConstraint CollectionLockedPropertyInfo b) => o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint CollectionLockedPropertyInfo o => o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint CollectionLockedPropertyInfo o, AttrSetTypeConstraint CollectionLockedPropertyInfo b) => b -> IO (GValueConstruct o)

attrTransfer :: (AttrBaseTypeConstraint CollectionLockedPropertyInfo o, AttrTransferTypeConstraint CollectionLockedPropertyInfo b) => Proxy o -> b -> IO (AttrTransferType CollectionLockedPropertyInfo)

dbgAttrInfo :: Maybe ResolvedSymbolInfo

type AttrAllowedOps CollectionLockedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrAllowedOps CollectionLockedPropertyInfo = '['AttrGet]
type AttrBaseTypeConstraint CollectionLockedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrBaseTypeConstraint CollectionLockedPropertyInfo = IsCollection
type AttrGetType CollectionLockedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrLabel CollectionLockedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrLabel CollectionLockedPropertyInfo = "locked"
type AttrOrigin CollectionLockedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrSetTypeConstraint CollectionLockedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrSetTypeConstraint CollectionLockedPropertyInfo = Type ~ ()
type AttrTransferType CollectionLockedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrTransferType CollectionLockedPropertyInfo = ()
type AttrTransferTypeConstraint CollectionLockedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrTransferTypeConstraint CollectionLockedPropertyInfo = Type ~ ()

collectionLocked :: AttrLabelProxy "locked" Source #

getCollectionLocked :: (MonadIO m, IsCollection o) => o -> m Bool Source #

Get the value of the “locked” property. When overloading is enabled, this is equivalent to

get collection #locked

modified

The date and time (in seconds since the UNIX epoch) that this collection was last modified.

data CollectionModifiedPropertyInfo Source #

Instances

Instances details
AttrInfo CollectionModifiedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Associated Types

type AttrAllowedOps CollectionModifiedPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrAllowedOps CollectionModifiedPropertyInfo = '['AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint CollectionModifiedPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrBaseTypeConstraint CollectionModifiedPropertyInfo = IsCollection
type AttrGetType CollectionModifiedPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrSetTypeConstraint CollectionModifiedPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrSetTypeConstraint CollectionModifiedPropertyInfo = Type ~ Word64
type AttrTransferTypeConstraint CollectionModifiedPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrTransferTypeConstraint CollectionModifiedPropertyInfo = Type ~ Word64
type AttrTransferType CollectionModifiedPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrTransferType CollectionModifiedPropertyInfo = Word64
type AttrLabel CollectionModifiedPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrLabel CollectionModifiedPropertyInfo = "modified"
type AttrOrigin CollectionModifiedPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

attrGet :: AttrBaseTypeConstraint CollectionModifiedPropertyInfo o => o -> IO (AttrGetType CollectionModifiedPropertyInfo)

attrSet :: (AttrBaseTypeConstraint CollectionModifiedPropertyInfo o, AttrSetTypeConstraint CollectionModifiedPropertyInfo b) => o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint CollectionModifiedPropertyInfo o => o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint CollectionModifiedPropertyInfo o, AttrSetTypeConstraint CollectionModifiedPropertyInfo b) => b -> IO (GValueConstruct o)

attrTransfer :: (AttrBaseTypeConstraint CollectionModifiedPropertyInfo o, AttrTransferTypeConstraint CollectionModifiedPropertyInfo b) => Proxy o -> b -> IO (AttrTransferType CollectionModifiedPropertyInfo)

dbgAttrInfo :: Maybe ResolvedSymbolInfo

type AttrAllowedOps CollectionModifiedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrAllowedOps CollectionModifiedPropertyInfo = '['AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint CollectionModifiedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrBaseTypeConstraint CollectionModifiedPropertyInfo = IsCollection
type AttrGetType CollectionModifiedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrLabel CollectionModifiedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrLabel CollectionModifiedPropertyInfo = "modified"
type AttrOrigin CollectionModifiedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrSetTypeConstraint CollectionModifiedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrSetTypeConstraint CollectionModifiedPropertyInfo = Type ~ Word64
type AttrTransferType CollectionModifiedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrTransferType CollectionModifiedPropertyInfo = Word64
type AttrTransferTypeConstraint CollectionModifiedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrTransferTypeConstraint CollectionModifiedPropertyInfo = Type ~ Word64

collectionModified :: AttrLabelProxy "modified" Source #

constructCollectionModified :: (IsCollection o, MonadIO m) => Word64 -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “modified” property. This is rarely needed directly, but it is used by new.

getCollectionModified :: (MonadIO m, IsCollection o) => o -> m Word64 Source #

Get the value of the “modified” property. When overloading is enabled, this is equivalent to

get collection #modified

setCollectionModified :: (MonadIO m, IsCollection o) => o -> Word64 -> m () Source #

Set the value of the “modified” property. When overloading is enabled, this is equivalent to

set collection [ #modified := value ]

service

The [classservice] object that this collection is associated with and uses to interact with the actual D-Bus Secret Service.

data CollectionServicePropertyInfo Source #

Instances

Instances details
AttrInfo CollectionServicePropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

Associated Types

type AttrAllowedOps CollectionServicePropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrAllowedOps CollectionServicePropertyInfo = '['AttrConstruct, 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint CollectionServicePropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrBaseTypeConstraint CollectionServicePropertyInfo = IsCollection
type AttrGetType CollectionServicePropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrSetTypeConstraint CollectionServicePropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrSetTypeConstraint CollectionServicePropertyInfo = IsService
type AttrTransferTypeConstraint CollectionServicePropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrTransferTypeConstraint CollectionServicePropertyInfo = IsService
type AttrTransferType CollectionServicePropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrTransferType CollectionServicePropertyInfo = Service
type AttrLabel CollectionServicePropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrLabel CollectionServicePropertyInfo = "service"
type AttrOrigin CollectionServicePropertyInfo 
Instance details

Defined in GI.Secret.Objects.Collection

Methods

attrGet :: AttrBaseTypeConstraint CollectionServicePropertyInfo o => o -> IO (AttrGetType CollectionServicePropertyInfo)

attrSet :: (AttrBaseTypeConstraint CollectionServicePropertyInfo o, AttrSetTypeConstraint CollectionServicePropertyInfo b) => o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint CollectionServicePropertyInfo o => o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint CollectionServicePropertyInfo o, AttrSetTypeConstraint CollectionServicePropertyInfo b) => b -> IO (GValueConstruct o)

attrTransfer :: (AttrBaseTypeConstraint CollectionServicePropertyInfo o, AttrTransferTypeConstraint CollectionServicePropertyInfo b) => Proxy o -> b -> IO (AttrTransferType CollectionServicePropertyInfo)

dbgAttrInfo :: Maybe ResolvedSymbolInfo

type AttrAllowedOps CollectionServicePropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrAllowedOps CollectionServicePropertyInfo = '['AttrConstruct, 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint CollectionServicePropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrBaseTypeConstraint CollectionServicePropertyInfo = IsCollection
type AttrGetType CollectionServicePropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrLabel CollectionServicePropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrLabel CollectionServicePropertyInfo = "service"
type AttrOrigin CollectionServicePropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrSetTypeConstraint CollectionServicePropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrSetTypeConstraint CollectionServicePropertyInfo = IsService
type AttrTransferType CollectionServicePropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrTransferType CollectionServicePropertyInfo = Service
type AttrTransferTypeConstraint CollectionServicePropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Collection

type AttrTransferTypeConstraint CollectionServicePropertyInfo = IsService

collectionService :: AttrLabelProxy "service" Source #

constructCollectionService :: (IsCollection o, MonadIO m, IsService a) => a -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “service” property. This is rarely needed directly, but it is used by new.

getCollectionService :: (MonadIO m, IsCollection o) => o -> m Service Source #

Get the value of the “service” property. When overloading is enabled, this is equivalent to

get collection #service