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

GI.Secret.Objects.Item

Description

A secret item

Item represents a secret item stored in the Secret Service.

Each item has a value, represented by a [structvalue], which can be retrieved by [methoditem.get_secret] or set by [methoditem.set_secret]. The item is only available when the item is not locked.

Items can be locked or unlocked using the [methodservice.lock] or [methodservice.unlock] functions. The Secret Service may not be able to unlock individual items, and may unlock an entire collection when a single item is unlocked.

Each item has a set of attributes, which are used to locate the item later. These are not stored or transferred in a secure manner. Each attribute has a string name and a string value. Use [methodservice.search] to search for items based on their attributes, and [methoditem.set_attributes] to change the attributes associated with an item.

Items can be created with Item.create or [methodservice.store].

Synopsis

Exported types

newtype Item Source #

Memory-managed wrapper type.

Constructors

Item (ManagedPtr Item) 

Instances

Instances details
Eq Item Source # 
Instance details

Defined in GI.Secret.Objects.Item

Methods

(==) :: Item -> Item -> Bool #

(/=) :: Item -> Item -> Bool #

GObject Item Source # 
Instance details

Defined in GI.Secret.Objects.Item

ManagedPtrNewtype Item Source # 
Instance details

Defined in GI.Secret.Objects.Item

TypedObject Item Source # 
Instance details

Defined in GI.Secret.Objects.Item

Methods

glibType :: IO GType #

HasParentTypes Item Source # 
Instance details

Defined in GI.Secret.Objects.Item

HasAttributeList Item Source # 
Instance details

Defined in GI.Secret.Objects.Item

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

Defined in GI.Secret.Objects.Item

Methods

getField :: Item -> p #

(info ~ ResolveItemMethod t Item, OverloadedMethodInfo info Item) => IsLabel t (MethodProxy info Item) Source # 
Instance details

Defined in GI.Secret.Objects.Item

Methods

fromLabel :: MethodProxy info Item #

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

Defined in GI.Secret.Objects.Item

Methods

fromLabel :: Item -> p #

IsGValue (Maybe Item) Source #

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

Instance details

Defined in GI.Secret.Objects.Item

type AttributeList Item Source # 
Instance details

Defined in GI.Secret.Objects.Item

type AttributeList Item
type ParentTypes Item Source # 
Instance details

Defined in GI.Secret.Objects.Item

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

Defined in GI.Secret.Objects.Item

type SignalList Item

class (GObject o, IsDescendantOf Item o) => IsItem o Source #

Type class for types which can be safely cast to Item, for instance with toItem.

Instances

Instances details
(GObject o, IsDescendantOf Item o) => IsItem o Source # 
Instance details

Defined in GI.Secret.Objects.Item

toItem :: (MonadIO m, IsItem o) => o -> m Item Source #

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

Methods

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

Equations

ResolveItemMethod "bindProperty" o = ObjectBindPropertyMethodInfo 
ResolveItemMethod "bindPropertyFull" o = ObjectBindPropertyFullMethodInfo 
ResolveItemMethod "call" o = DBusProxyCallMethodInfo 
ResolveItemMethod "callFinish" o = DBusProxyCallFinishMethodInfo 
ResolveItemMethod "callSync" o = DBusProxyCallSyncMethodInfo 
ResolveItemMethod "callWithUnixFdList" o = DBusProxyCallWithUnixFdListMethodInfo 
ResolveItemMethod "callWithUnixFdListFinish" o = DBusProxyCallWithUnixFdListFinishMethodInfo 
ResolveItemMethod "callWithUnixFdListSync" o = DBusProxyCallWithUnixFdListSyncMethodInfo 
ResolveItemMethod "delete" o = ItemDeleteMethodInfo 
ResolveItemMethod "deleteFinish" o = ItemDeleteFinishMethodInfo 
ResolveItemMethod "deleteSync" o = ItemDeleteSyncMethodInfo 
ResolveItemMethod "forceFloating" o = ObjectForceFloatingMethodInfo 
ResolveItemMethod "freezeNotify" o = ObjectFreezeNotifyMethodInfo 
ResolveItemMethod "getv" o = ObjectGetvMethodInfo 
ResolveItemMethod "init" o = InitableInitMethodInfo 
ResolveItemMethod "initAsync" o = AsyncInitableInitAsyncMethodInfo 
ResolveItemMethod "initFinish" o = AsyncInitableInitFinishMethodInfo 
ResolveItemMethod "isFloating" o = ObjectIsFloatingMethodInfo 
ResolveItemMethod "loadSecret" o = ItemLoadSecretMethodInfo 
ResolveItemMethod "loadSecretFinish" o = ItemLoadSecretFinishMethodInfo 
ResolveItemMethod "loadSecretSync" o = ItemLoadSecretSyncMethodInfo 
ResolveItemMethod "notify" o = ObjectNotifyMethodInfo 
ResolveItemMethod "notifyByPspec" o = ObjectNotifyByPspecMethodInfo 
ResolveItemMethod "ref" o = ObjectRefMethodInfo 
ResolveItemMethod "refSink" o = ObjectRefSinkMethodInfo 
ResolveItemMethod "refresh" o = ItemRefreshMethodInfo 
ResolveItemMethod "retrieveSecret" o = RetrievableRetrieveSecretMethodInfo 
ResolveItemMethod "retrieveSecretFinish" o = RetrievableRetrieveSecretFinishMethodInfo 
ResolveItemMethod "retrieveSecretSync" o = RetrievableRetrieveSecretSyncMethodInfo 
ResolveItemMethod "runDispose" o = ObjectRunDisposeMethodInfo 
ResolveItemMethod "stealData" o = ObjectStealDataMethodInfo 
ResolveItemMethod "stealQdata" o = ObjectStealQdataMethodInfo 
ResolveItemMethod "thawNotify" o = ObjectThawNotifyMethodInfo 
ResolveItemMethod "unref" o = ObjectUnrefMethodInfo 
ResolveItemMethod "watchClosure" o = ObjectWatchClosureMethodInfo 
ResolveItemMethod "getAttributes" o = ItemGetAttributesMethodInfo 
ResolveItemMethod "getCachedProperty" o = DBusProxyGetCachedPropertyMethodInfo 
ResolveItemMethod "getCachedPropertyNames" o = DBusProxyGetCachedPropertyNamesMethodInfo 
ResolveItemMethod "getConnection" o = DBusProxyGetConnectionMethodInfo 
ResolveItemMethod "getCreated" o = ItemGetCreatedMethodInfo 
ResolveItemMethod "getData" o = ObjectGetDataMethodInfo 
ResolveItemMethod "getDefaultTimeout" o = DBusProxyGetDefaultTimeoutMethodInfo 
ResolveItemMethod "getFlags" o = ItemGetFlagsMethodInfo 
ResolveItemMethod "getInfo" o = DBusInterfaceGetInfoMethodInfo 
ResolveItemMethod "getInterfaceInfo" o = DBusProxyGetInterfaceInfoMethodInfo 
ResolveItemMethod "getInterfaceName" o = DBusProxyGetInterfaceNameMethodInfo 
ResolveItemMethod "getLabel" o = ItemGetLabelMethodInfo 
ResolveItemMethod "getLocked" o = ItemGetLockedMethodInfo 
ResolveItemMethod "getModified" o = ItemGetModifiedMethodInfo 
ResolveItemMethod "getName" o = DBusProxyGetNameMethodInfo 
ResolveItemMethod "getNameOwner" o = DBusProxyGetNameOwnerMethodInfo 
ResolveItemMethod "getObject" o = DBusInterfaceGetObjectMethodInfo 
ResolveItemMethod "getObjectPath" o = DBusProxyGetObjectPathMethodInfo 
ResolveItemMethod "getProperty" o = ObjectGetPropertyMethodInfo 
ResolveItemMethod "getQdata" o = ObjectGetQdataMethodInfo 
ResolveItemMethod "getSchemaName" o = ItemGetSchemaNameMethodInfo 
ResolveItemMethod "getSecret" o = ItemGetSecretMethodInfo 
ResolveItemMethod "getService" o = ItemGetServiceMethodInfo 
ResolveItemMethod "setAttributes" o = ItemSetAttributesMethodInfo 
ResolveItemMethod "setAttributesFinish" o = ItemSetAttributesFinishMethodInfo 
ResolveItemMethod "setAttributesSync" o = ItemSetAttributesSyncMethodInfo 
ResolveItemMethod "setCachedProperty" o = DBusProxySetCachedPropertyMethodInfo 
ResolveItemMethod "setData" o = ObjectSetDataMethodInfo 
ResolveItemMethod "setDataFull" o = ObjectSetDataFullMethodInfo 
ResolveItemMethod "setDefaultTimeout" o = DBusProxySetDefaultTimeoutMethodInfo 
ResolveItemMethod "setInterfaceInfo" o = DBusProxySetInterfaceInfoMethodInfo 
ResolveItemMethod "setLabel" o = ItemSetLabelMethodInfo 
ResolveItemMethod "setLabelFinish" o = ItemSetLabelFinishMethodInfo 
ResolveItemMethod "setLabelSync" o = ItemSetLabelSyncMethodInfo 
ResolveItemMethod "setObject" o = DBusInterfaceSetObjectMethodInfo 
ResolveItemMethod "setProperty" o = ObjectSetPropertyMethodInfo 
ResolveItemMethod "setSecret" o = ItemSetSecretMethodInfo 
ResolveItemMethod "setSecretFinish" o = ItemSetSecretFinishMethodInfo 
ResolveItemMethod "setSecretSync" o = ItemSetSecretSyncMethodInfo 
ResolveItemMethod l o = MethodResolutionFailed l o :: Type 

create

itemCreate Source #

Arguments

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

collection: a secret collection to create this item in

-> Maybe Schema

schema: the schema for the attributes

-> Map Text Text

attributes: attributes for the new item

-> Text

label: label for the new item

-> Value

value: secret value for the new item

-> [ItemCreateFlags]

flags: flags for the creation of the new item

-> Maybe b

cancellable: optional cancellation object

-> Maybe AsyncReadyCallback

callback: called when the operation completes

-> m () 

Create a new item in the secret service.

If the flags contains ItemCreateFlagsReplace, then the secret service will search for an item matching the attributes, and update that item instead of creating a new one.

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.

createFinish

itemCreateFinish Source #

Arguments

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

result: the asynchronous result passed to the callback

-> m Item

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

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

createSync

itemCreateSync Source #

Arguments

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

collection: a secret collection to create this item in

-> Maybe Schema

schema: the schema for the attributes

-> Map Text Text

attributes: attributes for the new item

-> Text

label: label for the new item

-> Value

value: secret value for the new item

-> [ItemCreateFlags]

flags: flags for the creation of the new item

-> Maybe b

cancellable: optional cancellation object

-> m Item

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

Create a new item in the secret service.

If the flags contains ItemCreateFlagsReplace, then the secret service will search for an item matching the attributes, and update that item instead of creating a new one.

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.

delete

data ItemDeleteMethodInfo Source #

Instances

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethod :: a -> signature

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

itemDelete Source #

Arguments

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

self: an item

-> Maybe b

cancellable: optional cancellation object

-> Maybe AsyncReadyCallback

callback: called when the operation completes

-> m () 

Delete this item.

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 ItemDeleteFinishMethodInfo Source #

Instances

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethod :: a -> signature

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

itemDeleteFinish Source #

Arguments

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

self: an item

-> b

result: asynchronous result passed to the callback

-> m ()

(Can throw GError)

Complete asynchronous operation to delete the secret item.

deleteSync

data ItemDeleteSyncMethodInfo Source #

Instances

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethod :: a -> signature

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

itemDeleteSync Source #

Arguments

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

self: an item

-> Maybe b

cancellable: optional cancellation object

-> m ()

(Can throw GError)

Delete this secret item.

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.

getAttributes

data ItemGetAttributesMethodInfo Source #

Instances

Instances details
(signature ~ m (Map Text Text), MonadIO m, IsItem a) => OverloadedMethod ItemGetAttributesMethodInfo a signature Source # 
Instance details

Defined in GI.Secret.Objects.Item

Methods

overloadedMethod :: a -> signature

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

itemGetAttributes Source #

Arguments

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

self: an item

-> m (Map Text Text)

Returns: a new reference to the attributes, which should not be modified, and released with hashTableUnref

Set the attributes of this item.

The attributes are a mapping of string keys to string values. Attributes are used to search for items. Attributes are not stored or transferred securely by the secret service.

Do not modify the attributes returned by this method. Use [methoditem.set_attributes] instead.

getCreated

data ItemGetCreatedMethodInfo Source #

Instances

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethod :: a -> signature

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

itemGetCreated Source #

Arguments

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

self: an item

-> m Word64

Returns: the created date and time

Get the created date and time of the item.

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

getFlags

data ItemGetFlagsMethodInfo Source #

Instances

Instances details
(signature ~ m [ItemFlags], MonadIO m, IsItem a) => OverloadedMethod ItemGetFlagsMethodInfo a signature Source # 
Instance details

Defined in GI.Secret.Objects.Item

Methods

overloadedMethod :: a -> signature

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

itemGetFlags Source #

Arguments

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

self: the secret item proxy

-> m [ItemFlags]

Returns: the flags for features initialized

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

Use [methoditem.load_secret] to initialize further features and change the flags.

getLabel

data ItemGetLabelMethodInfo Source #

Instances

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethod :: a -> signature

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

itemGetLabel Source #

Arguments

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

self: an item

-> m Text

Returns: the label, which should be freed with free

Get the label of this item.

getLocked

data ItemGetLockedMethodInfo Source #

Instances

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethod :: a -> signature

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

itemGetLocked Source #

Arguments

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

self: an item

-> m Bool

Returns: whether the item is locked or not

Get whether the item is locked or not.

Depending on the secret service an item may not be able to be locked independently from the collection that it is in.

getModified

data ItemGetModifiedMethodInfo Source #

Instances

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethod :: a -> signature

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

itemGetModified Source #

Arguments

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

self: an item

-> m Word64

Returns: the modified date and time

Get the modified date and time of the item.

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

getSchemaName

data ItemGetSchemaNameMethodInfo Source #

Instances

Instances details
(signature ~ m (Maybe Text), MonadIO m, IsItem a) => OverloadedMethod ItemGetSchemaNameMethodInfo a signature Source # 
Instance details

Defined in GI.Secret.Objects.Item

Methods

overloadedMethod :: a -> signature

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

itemGetSchemaName Source #

Arguments

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

self: an item

-> m (Maybe Text)

Returns: the schema name

Gets the name of the schema that this item was stored with. This is also available at the xdg:schema attribute.

getSecret

data ItemGetSecretMethodInfo Source #

Instances

Instances details
(signature ~ m (Maybe Value), MonadIO m, IsItem a) => OverloadedMethod ItemGetSecretMethodInfo a signature Source # 
Instance details

Defined in GI.Secret.Objects.Item

Methods

overloadedMethod :: a -> signature

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

itemGetSecret Source #

Arguments

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

self: an item

-> m (Maybe Value)

Returns: the secret value which should be released with [methodvalue.unref], or Nothing

Get the secret value of this item.

If this item is locked or the secret has not yet been loaded then this will return Nothing.

To load the secret call the [methoditem.load_secret] method.

getService

data ItemGetServiceMethodInfo Source #

Instances

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethod :: a -> signature

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

itemGetService Source #

Arguments

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

self: an item

-> m Service

Returns: the Secret Service object

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

loadSecret

data ItemLoadSecretMethodInfo Source #

Instances

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethod :: a -> signature

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

itemLoadSecret Source #

Arguments

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

self: an item proxy

-> Maybe b

cancellable: optional cancellation object

-> Maybe AsyncReadyCallback

callback: called when the operation completes

-> m () 

Load the secret value of this item.

Each item has a single secret which might be a password or some other secret binary value.

This function will fail if the secret item is locked.

This function returns immediately and completes asynchronously.

loadSecretFinish

data ItemLoadSecretFinishMethodInfo Source #

Instances

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethod :: a -> signature

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

itemLoadSecretFinish Source #

Arguments

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

self: an item proxy

-> b

result: asynchronous result passed to callback

-> m ()

(Can throw GError)

Complete asynchronous operation to load the secret value of this item.

The newly loaded secret value can be accessed by calling [methoditem.get_secret].

loadSecretSync

data ItemLoadSecretSyncMethodInfo Source #

Instances

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethod :: a -> signature

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

itemLoadSecretSync Source #

Arguments

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

self: an item

-> Maybe b

cancellable: optional cancellation object

-> m ()

(Can throw GError)

Load the secret value of this item.

Each item has a single secret which might be a password or some other secret binary value.

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

loadSecrets

itemLoadSecrets Source #

Arguments

:: (HasCallStack, MonadIO m, IsItem a, IsCancellable b) 
=> [a]

items: the items to retrieve secrets for

-> Maybe b

cancellable: optional cancellation object

-> Maybe AsyncReadyCallback

callback: called when the operation completes

-> m () 

Load the secret values for a secret item stored in the service.

The items must all have the same [propertyitem:service] property.

This function returns immediately and completes asynchronously.

loadSecretsFinish

itemLoadSecretsFinish Source #

Arguments

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

result: asynchronous result passed to callback

-> m ()

(Can throw GError)

Complete asynchronous operation to load the secret values for secret items stored in the service.

Items that are locked will not have their secrets loaded.

loadSecretsSync

itemLoadSecretsSync Source #

Arguments

:: (HasCallStack, MonadIO m, IsItem a, IsCancellable b) 
=> [a]

items: the items to retrieve secrets for

-> Maybe b

cancellable: optional cancellation object

-> m ()

(Can throw GError)

Load the secret values for a secret item stored in the service.

The items must all have the same [propertyitem:service] property.

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

Items that are locked will not have their secrets loaded.

refresh

data ItemRefreshMethodInfo Source #

Instances

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethod :: a -> signature

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

itemRefresh Source #

Arguments

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

self: the collection

-> m () 

Refresh the properties on this item.

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.

setAttributes

data ItemSetAttributesMethodInfo Source #

Instances

Instances details
(signature ~ (Maybe Schema -> Map Text Text -> Maybe b -> Maybe AsyncReadyCallback -> m ()), MonadIO m, IsItem a, IsCancellable b) => OverloadedMethod ItemSetAttributesMethodInfo a signature Source # 
Instance details

Defined in GI.Secret.Objects.Item

Methods

overloadedMethod :: a -> signature

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

itemSetAttributes Source #

Arguments

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

self: an item

-> Maybe Schema

schema: the schema for the attributes

-> Map Text Text

attributes: a new set of attributes

-> Maybe b

cancellable: optional cancellation object

-> Maybe AsyncReadyCallback

callback: called when the asynchronous operation completes

-> m () 

Set the attributes of this item.

The attributes are a mapping of string keys to string values. Attributes are used to search for items. Attributes are not stored or transferred securely by the secret service.

This function returns immediately and completes asynchronously.

setAttributesFinish

data ItemSetAttributesFinishMethodInfo Source #

Instances

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethod :: a -> signature

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

itemSetAttributesFinish Source #

Arguments

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

self: an item

-> b

result: asynchronous result passed to the callback

-> m ()

(Can throw GError)

Complete operation to set the attributes of this item.

setAttributesSync

data ItemSetAttributesSyncMethodInfo Source #

Instances

Instances details
(signature ~ (Maybe Schema -> Map Text Text -> Maybe b -> m ()), MonadIO m, IsItem a, IsCancellable b) => OverloadedMethod ItemSetAttributesSyncMethodInfo a signature Source # 
Instance details

Defined in GI.Secret.Objects.Item

Methods

overloadedMethod :: a -> signature

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

itemSetAttributesSync Source #

Arguments

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

self: an item

-> Maybe Schema

schema: the schema for the attributes

-> Map Text Text

attributes: a new set of attributes

-> Maybe b

cancellable: optional cancellation object

-> m ()

(Can throw GError)

Set the attributes of this item.

The attributes are a mapping of string keys to string values. Attributes are used to search for items. Attributes are not stored or transferred securely by the secret service.

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

setLabel

data ItemSetLabelMethodInfo Source #

Instances

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethod :: a -> signature

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

itemSetLabel Source #

Arguments

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

self: an item

-> 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 item.

This function returns immediately and completes asynchronously.

setLabelFinish

data ItemSetLabelFinishMethodInfo Source #

Instances

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethod :: a -> signature

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

itemSetLabelFinish Source #

Arguments

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

self: an item

-> b

result: asynchronous result passed to callback

-> m ()

(Can throw GError)

Complete asynchronous operation to set the label of this collection.

setLabelSync

data ItemSetLabelSyncMethodInfo Source #

Instances

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethod :: a -> signature

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

itemSetLabelSync Source #

Arguments

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

self: an item

-> Text

label: a new label

-> Maybe b

cancellable: optional cancellation object

-> m ()

(Can throw GError)

Set the label of this item.

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

setSecret

data ItemSetSecretMethodInfo Source #

Instances

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethod :: a -> signature

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

itemSetSecret Source #

Arguments

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

self: an item

-> Value

value: a new secret value

-> Maybe b

cancellable: optional cancellation object

-> Maybe AsyncReadyCallback

callback: called when the operation completes

-> m () 

Set the secret value of this item.

Each item has a single secret which might be a password or some other secret binary value.

This function returns immediately and completes asynchronously.

setSecretFinish

data ItemSetSecretFinishMethodInfo Source #

Instances

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethod :: a -> signature

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

itemSetSecretFinish Source #

Arguments

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

self: an item

-> b

result: asynchronous result passed to callback

-> m ()

(Can throw GError)

Complete asynchronous operation to set the secret value of this item.

setSecretSync

data ItemSetSecretSyncMethodInfo Source #

Instances

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethod :: a -> signature

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

Defined in GI.Secret.Objects.Item

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

itemSetSecretSync Source #

Arguments

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

self: an item

-> Value

value: a new secret value

-> Maybe b

cancellable: optional cancellation object

-> m ()

(Can throw GError)

Set the secret value of this item.

Each item has a single secret which might be a password or some other secret binary value.

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

Properties

flags

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

data ItemFlagsPropertyInfo Source #

Instances

Instances details
AttrInfo ItemFlagsPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Item

Associated Types

type AttrAllowedOps ItemFlagsPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Item

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

Defined in GI.Secret.Objects.Item

type AttrBaseTypeConstraint ItemFlagsPropertyInfo = IsItem
type AttrGetType ItemFlagsPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Item

type AttrGetType ItemFlagsPropertyInfo = [ItemFlags]
type AttrSetTypeConstraint ItemFlagsPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Item

type AttrSetTypeConstraint ItemFlagsPropertyInfo = Type ~ [ItemFlags]
type AttrTransferTypeConstraint ItemFlagsPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Item

type AttrTransferTypeConstraint ItemFlagsPropertyInfo = Type ~ [ItemFlags]
type AttrTransferType ItemFlagsPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Item

type AttrTransferType ItemFlagsPropertyInfo = [ItemFlags]
type AttrLabel ItemFlagsPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Item

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

Defined in GI.Secret.Objects.Item

type AttrOrigin ItemFlagsPropertyInfo = Item

Methods

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

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

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

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

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

dbgAttrInfo :: Maybe ResolvedSymbolInfo

type AttrAllowedOps ItemFlagsPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Item

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

Defined in GI.Secret.Objects.Item

type AttrBaseTypeConstraint ItemFlagsPropertyInfo = IsItem
type AttrGetType ItemFlagsPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Item

type AttrGetType ItemFlagsPropertyInfo = [ItemFlags]
type AttrLabel ItemFlagsPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Item

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

Defined in GI.Secret.Objects.Item

type AttrOrigin ItemFlagsPropertyInfo = Item
type AttrSetTypeConstraint ItemFlagsPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Item

type AttrSetTypeConstraint ItemFlagsPropertyInfo = Type ~ [ItemFlags]
type AttrTransferType ItemFlagsPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Item

type AttrTransferType ItemFlagsPropertyInfo = [ItemFlags]
type AttrTransferTypeConstraint ItemFlagsPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Item

type AttrTransferTypeConstraint ItemFlagsPropertyInfo = Type ~ [ItemFlags]

constructItemFlags :: (IsItem o, MonadIO m) => [ItemFlags] -> 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.

getItemFlags :: (MonadIO m, IsItem o) => o -> m [ItemFlags] Source #

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

get item #flags

itemFlags :: AttrLabelProxy "flags" Source #

locked

Whether the item is locked or not.

An item may not be independently lockable separate from other items in its collection.

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

data ItemLockedPropertyInfo Source #

Instances

Instances details
AttrInfo ItemLockedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Item

Associated Types

type AttrAllowedOps ItemLockedPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Item

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

Defined in GI.Secret.Objects.Item

type AttrBaseTypeConstraint ItemLockedPropertyInfo = IsItem
type AttrGetType ItemLockedPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Item

type AttrGetType ItemLockedPropertyInfo = Bool
type AttrSetTypeConstraint ItemLockedPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Item

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

Defined in GI.Secret.Objects.Item

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

Defined in GI.Secret.Objects.Item

type AttrTransferType ItemLockedPropertyInfo = ()
type AttrLabel ItemLockedPropertyInfo 
Instance details

Defined in GI.Secret.Objects.Item

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

Defined in GI.Secret.Objects.Item

type AttrOrigin ItemLockedPropertyInfo = Item

Methods

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

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

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

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

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

dbgAttrInfo :: Maybe ResolvedSymbolInfo

type AttrAllowedOps ItemLockedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Item

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

Defined in GI.Secret.Objects.Item

type AttrBaseTypeConstraint ItemLockedPropertyInfo = IsItem
type AttrGetType ItemLockedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Item

type AttrGetType ItemLockedPropertyInfo = Bool
type AttrLabel ItemLockedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Item

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

Defined in GI.Secret.Objects.Item

type AttrOrigin ItemLockedPropertyInfo = Item
type AttrSetTypeConstraint ItemLockedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Item

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

Defined in GI.Secret.Objects.Item

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

Defined in GI.Secret.Objects.Item

type AttrTransferTypeConstraint ItemLockedPropertyInfo = Type ~ ()

getItemLocked :: (MonadIO m, IsItem o) => o -> m Bool Source #

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

get item #locked

itemLocked :: AttrLabelProxy "locked" Source #

service

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

data ItemServicePropertyInfo Source #

Instances

Instances details
AttrInfo ItemServicePropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Item

Associated Types

type AttrAllowedOps ItemServicePropertyInfo 
Instance details

Defined in GI.Secret.Objects.Item

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

Defined in GI.Secret.Objects.Item

type AttrBaseTypeConstraint ItemServicePropertyInfo = IsItem
type AttrGetType ItemServicePropertyInfo 
Instance details

Defined in GI.Secret.Objects.Item

type AttrGetType ItemServicePropertyInfo = Service
type AttrSetTypeConstraint ItemServicePropertyInfo 
Instance details

Defined in GI.Secret.Objects.Item

type AttrSetTypeConstraint ItemServicePropertyInfo = IsService
type AttrTransferTypeConstraint ItemServicePropertyInfo 
Instance details

Defined in GI.Secret.Objects.Item

type AttrTransferTypeConstraint ItemServicePropertyInfo = IsService
type AttrTransferType ItemServicePropertyInfo 
Instance details

Defined in GI.Secret.Objects.Item

type AttrTransferType ItemServicePropertyInfo = Service
type AttrLabel ItemServicePropertyInfo 
Instance details

Defined in GI.Secret.Objects.Item

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

Defined in GI.Secret.Objects.Item

type AttrOrigin ItemServicePropertyInfo = Item

Methods

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

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

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

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

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

dbgAttrInfo :: Maybe ResolvedSymbolInfo

type AttrAllowedOps ItemServicePropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Item

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

Defined in GI.Secret.Objects.Item

type AttrBaseTypeConstraint ItemServicePropertyInfo = IsItem
type AttrGetType ItemServicePropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Item

type AttrGetType ItemServicePropertyInfo = Service
type AttrLabel ItemServicePropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Item

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

Defined in GI.Secret.Objects.Item

type AttrOrigin ItemServicePropertyInfo = Item
type AttrSetTypeConstraint ItemServicePropertyInfo Source # 
Instance details

Defined in GI.Secret.Objects.Item

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

Defined in GI.Secret.Objects.Item

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

Defined in GI.Secret.Objects.Item

type AttrTransferTypeConstraint ItemServicePropertyInfo = IsService

constructItemService :: (IsItem 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.

getItemService :: (MonadIO m, IsItem o) => o -> m Service Source #

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

get item #service

itemService :: AttrLabelProxy "service" Source #