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 ssh key agent credential.
Synopsis
- newtype CredSshKeyFromAgent = CredSshKeyFromAgent (ManagedPtr CredSshKeyFromAgent)
- class (GObject o, IsDescendantOf CredSshKeyFromAgent o) => IsCredSshKeyFromAgent o
- toCredSshKeyFromAgent :: (MonadIO m, IsCredSshKeyFromAgent o) => o -> m CredSshKeyFromAgent
- credSshKeyFromAgentGetUsername :: (HasCallStack, MonadIO m, IsCredSshKeyFromAgent a) => a -> m (Maybe Text)
- credSshKeyFromAgentNew :: (HasCallStack, MonadIO m) => Text -> m (Maybe CredSshKeyFromAgent)
- constructCredSshKeyFromAgentUsername :: (IsCredSshKeyFromAgent o, MonadIO m) => Text -> m (GValueConstruct o)
- getCredSshKeyFromAgentUsername :: (MonadIO m, IsCredSshKeyFromAgent o) => o -> m (Maybe Text)
Exported types
newtype CredSshKeyFromAgent Source #
Memory-managed wrapper type.
CredSshKeyFromAgent (ManagedPtr CredSshKeyFromAgent) |
Instances
class (GObject o, IsDescendantOf CredSshKeyFromAgent o) => IsCredSshKeyFromAgent o Source #
Type class for types which can be safely cast to CredSshKeyFromAgent
, for instance with toCredSshKeyFromAgent
.
Instances
(GObject o, IsDescendantOf CredSshKeyFromAgent o) => IsCredSshKeyFromAgent o Source # | |
Defined in GI.Ggit.Objects.CredSshKeyFromAgent |
toCredSshKeyFromAgent :: (MonadIO m, IsCredSshKeyFromAgent o) => o -> m CredSshKeyFromAgent Source #
Cast to CredSshKeyFromAgent
, 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, getProperty, getQdata, getUsername.
Setters
getUsername
credSshKeyFromAgentGetUsername Source #
:: (HasCallStack, MonadIO m, IsCredSshKeyFromAgent a) | |
=> a |
|
-> m (Maybe Text) | Returns: the username or |
Gets the username for the credential.
new
credSshKeyFromAgentNew Source #
:: (HasCallStack, MonadIO m) | |
=> Text |
|
-> m (Maybe CredSshKeyFromAgent) | Returns: a new |
Creates a new CredSshKeyFromAgent
.
Properties
username
No description available in the introspection data.
constructCredSshKeyFromAgentUsername :: (IsCredSshKeyFromAgent 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
.
getCredSshKeyFromAgentUsername :: (MonadIO m, IsCredSshKeyFromAgent o) => o -> m (Maybe Text) Source #
Get the value of the “username
” property.
When overloading is enabled, this is equivalent to
get
credSshKeyFromAgent #username