Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Represents a plain text credential.
Synopsis
- newtype CredPlaintext = CredPlaintext (ManagedPtr CredPlaintext)
- class (GObject o, IsDescendantOf CredPlaintext o) => IsCredPlaintext o
- toCredPlaintext :: (MonadIO m, IsCredPlaintext o) => o -> m CredPlaintext
- credPlaintextGetPassword :: (HasCallStack, MonadIO m, IsCredPlaintext a) => a -> m Text
- credPlaintextGetUsername :: (HasCallStack, MonadIO m, IsCredPlaintext a) => a -> m Text
- credPlaintextNew :: (HasCallStack, MonadIO m) => Text -> Text -> m CredPlaintext
- constructCredPlaintextPassword :: (IsCredPlaintext o, MonadIO m) => Text -> m (GValueConstruct o)
- getCredPlaintextPassword :: (MonadIO m, IsCredPlaintext o) => o -> m Text
- constructCredPlaintextUsername :: (IsCredPlaintext o, MonadIO m) => Text -> m (GValueConstruct o)
- getCredPlaintextUsername :: (MonadIO m, IsCredPlaintext o) => o -> m Text
Exported types
newtype CredPlaintext Source #
Memory-managed wrapper type.
Instances
Eq CredPlaintext Source # | |
Defined in GI.Ggit.Objects.CredPlaintext (==) :: CredPlaintext -> CredPlaintext -> Bool # (/=) :: CredPlaintext -> CredPlaintext -> Bool # | |
GObject CredPlaintext Source # | |
Defined in GI.Ggit.Objects.CredPlaintext | |
ManagedPtrNewtype CredPlaintext Source # | |
Defined in GI.Ggit.Objects.CredPlaintext | |
TypedObject CredPlaintext Source # | |
Defined in GI.Ggit.Objects.CredPlaintext | |
HasParentTypes CredPlaintext Source # | |
Defined in GI.Ggit.Objects.CredPlaintext | |
IsGValue (Maybe CredPlaintext) Source # | Convert |
Defined in GI.Ggit.Objects.CredPlaintext gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe CredPlaintext -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe CredPlaintext) # | |
type ParentTypes CredPlaintext Source # | |
Defined in GI.Ggit.Objects.CredPlaintext |
class (GObject o, IsDescendantOf CredPlaintext o) => IsCredPlaintext o Source #
Type class for types which can be safely cast to CredPlaintext
, for instance with toCredPlaintext
.
Instances
(GObject o, IsDescendantOf CredPlaintext o) => IsCredPlaintext o Source # | |
Defined in GI.Ggit.Objects.CredPlaintext |
toCredPlaintext :: (MonadIO m, IsCredPlaintext o) => o -> m CredPlaintext Source #
Cast to CredPlaintext
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, init, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getData, getPassword, getProperty, getQdata, getUsername.
Setters
getPassword
credPlaintextGetPassword :: (HasCallStack, MonadIO m, IsCredPlaintext a) => a -> m Text Source #
No description available in the introspection data.
getUsername
credPlaintextGetUsername :: (HasCallStack, MonadIO m, IsCredPlaintext a) => a -> m Text Source #
No description available in the introspection data.
new
:: (HasCallStack, MonadIO m) | |
=> Text | |
-> Text | |
-> m CredPlaintext | (Can throw |
No description available in the introspection data.
Properties
password
No description available in the introspection data.
constructCredPlaintextPassword :: (IsCredPlaintext o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “password
” property. This is rarely needed directly, but it is used by new
.
getCredPlaintextPassword :: (MonadIO m, IsCredPlaintext o) => o -> m Text Source #
Get the value of the “password
” property.
When overloading is enabled, this is equivalent to
get
credPlaintext #password
username
No description available in the introspection data.
constructCredPlaintextUsername :: (IsCredPlaintext o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “username
” property. This is rarely needed directly, but it is used by new
.
getCredPlaintextUsername :: (MonadIO m, IsCredPlaintext o) => o -> m Text Source #
Get the value of the “username
” property.
When overloading is enabled, this is equivalent to
get
credPlaintext #username