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

GI.Secret.Interfaces.Retrievable

Description

A read-only view of a secret item in the Secret Service.

Retrievable provides a read-only view of a secret item stored in the Secret Service.

Each item has a value, represented by a [structvalue], which can be retrieved by [methodretrievable.retrieve_secret] and [methodretrievable.retrieve_secret_finish].

Since: 0.19.0

Synopsis

Exported types

newtype Retrievable Source #

Memory-managed wrapper type.

Instances

Instances details
Eq Retrievable Source # 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

GObject Retrievable Source # 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

ManagedPtrNewtype Retrievable Source # 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

TypedObject Retrievable Source # 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

Methods

glibType :: IO GType #

HasParentTypes Retrievable Source # 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

HasAttributeList Retrievable Source # 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

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

Defined in GI.Secret.Interfaces.Retrievable

Methods

getField :: Retrievable -> p #

(info ~ ResolveRetrievableMethod t Retrievable, OverloadedMethodInfo info Retrievable) => IsLabel t (MethodProxy info Retrievable) Source # 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

Methods

fromLabel :: MethodProxy info Retrievable #

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

Defined in GI.Secret.Interfaces.Retrievable

Methods

fromLabel :: Retrievable -> p #

IsGValue (Maybe Retrievable) Source #

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

Instance details

Defined in GI.Secret.Interfaces.Retrievable

type AttributeList Retrievable Source # 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

type AttributeList Retrievable
type ParentTypes Retrievable Source # 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

type ParentTypes Retrievable = '[Object]
type SignalList Retrievable Source # 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

type SignalList Retrievable

class (GObject o, IsDescendantOf Retrievable o) => IsRetrievable o Source #

Type class for types which can be safely cast to Retrievable, for instance with toRetrievable.

Instances

Instances details
(GObject o, IsDescendantOf Retrievable o) => IsRetrievable o Source # 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

toRetrievable :: (MonadIO m, IsRetrievable o) => o -> m Retrievable Source #

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

Methods

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

Equations

ResolveRetrievableMethod "bindProperty" o = ObjectBindPropertyMethodInfo 
ResolveRetrievableMethod "bindPropertyFull" o = ObjectBindPropertyFullMethodInfo 
ResolveRetrievableMethod "forceFloating" o = ObjectForceFloatingMethodInfo 
ResolveRetrievableMethod "freezeNotify" o = ObjectFreezeNotifyMethodInfo 
ResolveRetrievableMethod "getv" o = ObjectGetvMethodInfo 
ResolveRetrievableMethod "isFloating" o = ObjectIsFloatingMethodInfo 
ResolveRetrievableMethod "notify" o = ObjectNotifyMethodInfo 
ResolveRetrievableMethod "notifyByPspec" o = ObjectNotifyByPspecMethodInfo 
ResolveRetrievableMethod "ref" o = ObjectRefMethodInfo 
ResolveRetrievableMethod "refSink" o = ObjectRefSinkMethodInfo 
ResolveRetrievableMethod "retrieveSecret" o = RetrievableRetrieveSecretMethodInfo 
ResolveRetrievableMethod "retrieveSecretFinish" o = RetrievableRetrieveSecretFinishMethodInfo 
ResolveRetrievableMethod "retrieveSecretSync" o = RetrievableRetrieveSecretSyncMethodInfo 
ResolveRetrievableMethod "runDispose" o = ObjectRunDisposeMethodInfo 
ResolveRetrievableMethod "stealData" o = ObjectStealDataMethodInfo 
ResolveRetrievableMethod "stealQdata" o = ObjectStealQdataMethodInfo 
ResolveRetrievableMethod "thawNotify" o = ObjectThawNotifyMethodInfo 
ResolveRetrievableMethod "unref" o = ObjectUnrefMethodInfo 
ResolveRetrievableMethod "watchClosure" o = ObjectWatchClosureMethodInfo 
ResolveRetrievableMethod "getAttributes" o = RetrievableGetAttributesMethodInfo 
ResolveRetrievableMethod "getCreated" o = RetrievableGetCreatedMethodInfo 
ResolveRetrievableMethod "getData" o = ObjectGetDataMethodInfo 
ResolveRetrievableMethod "getLabel" o = RetrievableGetLabelMethodInfo 
ResolveRetrievableMethod "getModified" o = RetrievableGetModifiedMethodInfo 
ResolveRetrievableMethod "getProperty" o = ObjectGetPropertyMethodInfo 
ResolveRetrievableMethod "getQdata" o = ObjectGetQdataMethodInfo 
ResolveRetrievableMethod "setData" o = ObjectSetDataMethodInfo 
ResolveRetrievableMethod "setDataFull" o = ObjectSetDataFullMethodInfo 
ResolveRetrievableMethod "setProperty" o = ObjectSetPropertyMethodInfo 
ResolveRetrievableMethod l o = MethodResolutionFailed l o :: Type 

getAttributes

data RetrievableGetAttributesMethodInfo Source #

Instances

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

Defined in GI.Secret.Interfaces.Retrievable

Methods

overloadedMethod :: a -> signature

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

Defined in GI.Secret.Interfaces.Retrievable

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

retrievableGetAttributes Source #

Arguments

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

self: a retrievable object

-> m (Map Text Text)

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

Get the attributes of this object.

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 attribute returned by this method.

Since: 0.19.0

getCreated

data RetrievableGetCreatedMethodInfo Source #

Instances

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

Defined in GI.Secret.Interfaces.Retrievable

Methods

overloadedMethod :: a -> signature

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

Defined in GI.Secret.Interfaces.Retrievable

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

retrievableGetCreated Source #

Arguments

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

self: a retrievable object

-> m Word64

Returns: the created date and time

Get the created date and time of the object.

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

Since: 0.19.0

getLabel

data RetrievableGetLabelMethodInfo Source #

Instances

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

Defined in GI.Secret.Interfaces.Retrievable

Methods

overloadedMethod :: a -> signature

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

Defined in GI.Secret.Interfaces.Retrievable

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

retrievableGetLabel Source #

Arguments

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

self: a retrievable object

-> m Text

Returns: the label, which should be freed with free

Get the label of this item.

Since: 0.19.0

getModified

data RetrievableGetModifiedMethodInfo Source #

Instances

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

Defined in GI.Secret.Interfaces.Retrievable

Methods

overloadedMethod :: a -> signature

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

Defined in GI.Secret.Interfaces.Retrievable

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

retrievableGetModified Source #

Arguments

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

self: a retrievable object

-> m Word64

Returns: the modified date and time

Get the modified date and time of the object.

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

Since: 0.19.0

retrieveSecret

data RetrievableRetrieveSecretMethodInfo Source #

Instances

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

Defined in GI.Secret.Interfaces.Retrievable

Methods

overloadedMethod :: a -> signature

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

Defined in GI.Secret.Interfaces.Retrievable

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

retrievableRetrieveSecret Source #

Arguments

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

self: a retrievable object

-> Maybe b

cancellable: optional cancellation object

-> Maybe AsyncReadyCallback

callback: called when the operation completes

-> m () 

Retrieve the secret value of this object.

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

This function returns immediately and completes asynchronously.

Since: 0.19.0

retrieveSecretFinish

data RetrievableRetrieveSecretFinishMethodInfo Source #

Instances

Instances details
(signature ~ (b -> m (Maybe Value)), MonadIO m, IsRetrievable a, IsAsyncResult b) => OverloadedMethod RetrievableRetrieveSecretFinishMethodInfo a signature Source # 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

Methods

overloadedMethod :: a -> signature

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

Defined in GI.Secret.Interfaces.Retrievable

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

retrievableRetrieveSecretFinish Source #

Arguments

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

self: a retrievable object

-> b

result: asynchronous result passed to callback

-> m (Maybe Value)

Returns: the secret value which should be released with [methodvalue.unref], or Nothing (Can throw GError)

Complete asynchronous operation to retrieve the secret value of this object.

Since: 0.19.0

retrieveSecretSync

data RetrievableRetrieveSecretSyncMethodInfo Source #

Instances

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

Defined in GI.Secret.Interfaces.Retrievable

Methods

overloadedMethod :: a -> signature

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

Defined in GI.Secret.Interfaces.Retrievable

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

retrievableRetrieveSecretSync Source #

Arguments

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

self: a retrievable object

-> Maybe b

cancellable: optional cancellation object

-> m (Maybe Value)

Returns: the secret value which should be released with [methodvalue.unref], or Nothing (Can throw GError)

Retrieve the secret value of this object synchronously.

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

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

Since: 0.19.0

Properties

attributes

data RetrievableAttributesPropertyInfo Source #

Instances

Instances details
AttrInfo RetrievableAttributesPropertyInfo Source # 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

Associated Types

type AttrAllowedOps RetrievableAttributesPropertyInfo 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

type AttrAllowedOps RetrievableAttributesPropertyInfo = '[] :: [AttrOpTag]
type AttrBaseTypeConstraint RetrievableAttributesPropertyInfo 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

type AttrBaseTypeConstraint RetrievableAttributesPropertyInfo = Type ~ ()
type AttrGetType RetrievableAttributesPropertyInfo 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

type AttrGetType RetrievableAttributesPropertyInfo = ()
type AttrSetTypeConstraint RetrievableAttributesPropertyInfo 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

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

Defined in GI.Secret.Interfaces.Retrievable

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

Defined in GI.Secret.Interfaces.Retrievable

type AttrTransferType RetrievableAttributesPropertyInfo = ()
type AttrLabel RetrievableAttributesPropertyInfo 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

type AttrOrigin RetrievableAttributesPropertyInfo 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

Methods

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

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

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

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

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

dbgAttrInfo :: Maybe ResolvedSymbolInfo

type AttrAllowedOps RetrievableAttributesPropertyInfo Source # 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

type AttrAllowedOps RetrievableAttributesPropertyInfo = '[] :: [AttrOpTag]
type AttrBaseTypeConstraint RetrievableAttributesPropertyInfo Source # 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

type AttrBaseTypeConstraint RetrievableAttributesPropertyInfo = Type ~ ()
type AttrGetType RetrievableAttributesPropertyInfo Source # 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

type AttrGetType RetrievableAttributesPropertyInfo = ()
type AttrLabel RetrievableAttributesPropertyInfo Source # 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

type AttrOrigin RetrievableAttributesPropertyInfo Source # 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

type AttrSetTypeConstraint RetrievableAttributesPropertyInfo Source # 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

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

Defined in GI.Secret.Interfaces.Retrievable

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

Defined in GI.Secret.Interfaces.Retrievable

type AttrTransferTypeConstraint RetrievableAttributesPropertyInfo = Type ~ ()

retrievableAttributes :: AttrLabelProxy "attributes" Source #

created

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

Since: 0.19.0

data RetrievableCreatedPropertyInfo Source #

Instances

Instances details
AttrInfo RetrievableCreatedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

Associated Types

type AttrAllowedOps RetrievableCreatedPropertyInfo 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

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

Defined in GI.Secret.Interfaces.Retrievable

type AttrBaseTypeConstraint RetrievableCreatedPropertyInfo = IsRetrievable
type AttrGetType RetrievableCreatedPropertyInfo 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

type AttrSetTypeConstraint RetrievableCreatedPropertyInfo 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

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

Defined in GI.Secret.Interfaces.Retrievable

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

Defined in GI.Secret.Interfaces.Retrievable

type AttrTransferType RetrievableCreatedPropertyInfo = Word64
type AttrLabel RetrievableCreatedPropertyInfo 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

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

Defined in GI.Secret.Interfaces.Retrievable

Methods

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

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

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

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

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

dbgAttrInfo :: Maybe ResolvedSymbolInfo

type AttrAllowedOps RetrievableCreatedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

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

Defined in GI.Secret.Interfaces.Retrievable

type AttrBaseTypeConstraint RetrievableCreatedPropertyInfo = IsRetrievable
type AttrGetType RetrievableCreatedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

type AttrLabel RetrievableCreatedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

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

Defined in GI.Secret.Interfaces.Retrievable

type AttrSetTypeConstraint RetrievableCreatedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

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

Defined in GI.Secret.Interfaces.Retrievable

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

Defined in GI.Secret.Interfaces.Retrievable

type AttrTransferTypeConstraint RetrievableCreatedPropertyInfo = Type ~ Word64

constructRetrievableCreated :: (IsRetrievable 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.

getRetrievableCreated :: (MonadIO m, IsRetrievable o) => o -> m Word64 Source #

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

get retrievable #created

retrievableCreated :: AttrLabelProxy "created" Source #

setRetrievableCreated :: (MonadIO m, IsRetrievable o) => o -> Word64 -> m () Source #

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

set retrievable [ #created := value ]

label

The human readable label for the item.

Since: 0.19.0

data RetrievableLabelPropertyInfo Source #

Instances

Instances details
AttrInfo RetrievableLabelPropertyInfo Source # 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

Associated Types

type AttrAllowedOps RetrievableLabelPropertyInfo 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

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

Defined in GI.Secret.Interfaces.Retrievable

type AttrBaseTypeConstraint RetrievableLabelPropertyInfo = IsRetrievable
type AttrGetType RetrievableLabelPropertyInfo 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

type AttrSetTypeConstraint RetrievableLabelPropertyInfo 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

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

Defined in GI.Secret.Interfaces.Retrievable

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

Defined in GI.Secret.Interfaces.Retrievable

type AttrTransferType RetrievableLabelPropertyInfo = Text
type AttrLabel RetrievableLabelPropertyInfo 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

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

Defined in GI.Secret.Interfaces.Retrievable

Methods

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

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

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

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

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

dbgAttrInfo :: Maybe ResolvedSymbolInfo

type AttrAllowedOps RetrievableLabelPropertyInfo Source # 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

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

Defined in GI.Secret.Interfaces.Retrievable

type AttrBaseTypeConstraint RetrievableLabelPropertyInfo = IsRetrievable
type AttrGetType RetrievableLabelPropertyInfo Source # 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

type AttrLabel RetrievableLabelPropertyInfo Source # 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

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

Defined in GI.Secret.Interfaces.Retrievable

type AttrSetTypeConstraint RetrievableLabelPropertyInfo Source # 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

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

Defined in GI.Secret.Interfaces.Retrievable

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

Defined in GI.Secret.Interfaces.Retrievable

type AttrTransferTypeConstraint RetrievableLabelPropertyInfo = Type ~ Text

clearRetrievableLabel :: (MonadIO m, IsRetrievable o) => o -> m () Source #

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

clear #label

constructRetrievableLabel :: (IsRetrievable 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.

getRetrievableLabel :: (MonadIO m, IsRetrievable o) => o -> m (Maybe Text) Source #

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

get retrievable #label

retrievableLabel :: AttrLabelProxy "label" Source #

setRetrievableLabel :: (MonadIO m, IsRetrievable o) => o -> Text -> m () Source #

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

set retrievable [ #label := value ]

modified

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

Since: 0.19.0

data RetrievableModifiedPropertyInfo Source #

Instances

Instances details
AttrInfo RetrievableModifiedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

Associated Types

type AttrAllowedOps RetrievableModifiedPropertyInfo 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

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

Defined in GI.Secret.Interfaces.Retrievable

type AttrBaseTypeConstraint RetrievableModifiedPropertyInfo = IsRetrievable
type AttrGetType RetrievableModifiedPropertyInfo 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

type AttrSetTypeConstraint RetrievableModifiedPropertyInfo 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

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

Defined in GI.Secret.Interfaces.Retrievable

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

Defined in GI.Secret.Interfaces.Retrievable

type AttrTransferType RetrievableModifiedPropertyInfo = Word64
type AttrLabel RetrievableModifiedPropertyInfo 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

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

Defined in GI.Secret.Interfaces.Retrievable

Methods

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

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

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

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

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

dbgAttrInfo :: Maybe ResolvedSymbolInfo

type AttrAllowedOps RetrievableModifiedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

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

Defined in GI.Secret.Interfaces.Retrievable

type AttrBaseTypeConstraint RetrievableModifiedPropertyInfo = IsRetrievable
type AttrGetType RetrievableModifiedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

type AttrLabel RetrievableModifiedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

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

Defined in GI.Secret.Interfaces.Retrievable

type AttrSetTypeConstraint RetrievableModifiedPropertyInfo Source # 
Instance details

Defined in GI.Secret.Interfaces.Retrievable

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

Defined in GI.Secret.Interfaces.Retrievable

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

Defined in GI.Secret.Interfaces.Retrievable

type AttrTransferTypeConstraint RetrievableModifiedPropertyInfo = Type ~ Word64

constructRetrievableModified :: (IsRetrievable 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.

getRetrievableModified :: (MonadIO m, IsRetrievable o) => o -> m Word64 Source #

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

get retrievable #modified

retrievableModified :: AttrLabelProxy "modified" Source #

setRetrievableModified :: (MonadIO m, IsRetrievable o) => o -> Word64 -> m () Source #

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

set retrievable [ #modified := value ]