Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
Safe Haskell | None |
Language | Haskell2010 |
Represents a ssh interactive credential.
Synopsis
- newtype CredSshInteractive = CredSshInteractive (ManagedPtr CredSshInteractive)
- class (GObject o, IsDescendantOf CredSshInteractive o) => IsCredSshInteractive o
- toCredSshInteractive :: (MonadIO m, IsCredSshInteractive o) => o -> m CredSshInteractive
- noCredSshInteractive :: Maybe CredSshInteractive
- credSshInteractiveGetUsername :: (HasCallStack, MonadIO m, IsCredSshInteractive a) => a -> m Text
- credSshInteractiveNew :: (HasCallStack, MonadIO m) => Text -> m CredSshInteractive
- constructCredSshInteractiveUsername :: IsCredSshInteractive o => Text -> IO (GValueConstruct o)
- getCredSshInteractiveUsername :: (MonadIO m, IsCredSshInteractive o) => o -> m Text
Exported types
newtype CredSshInteractive Source #
Memory-managed wrapper type.
Instances
GObject CredSshInteractive Source # | |
Defined in GI.Ggit.Objects.CredSshInteractive gobjectType :: IO GType # | |
HasParentTypes CredSshInteractive Source # | |
Defined in GI.Ggit.Objects.CredSshInteractive | |
type ParentTypes CredSshInteractive Source # | |
Defined in GI.Ggit.Objects.CredSshInteractive type ParentTypes CredSshInteractive = Cred ': (Native ': (ObjectFactoryBase ': (Object ': (Initable ': ([] :: [Type]))))) |
class (GObject o, IsDescendantOf CredSshInteractive o) => IsCredSshInteractive o Source #
Type class for types which can be safely cast to CredSshInteractive
, for instance with toCredSshInteractive
.
Instances
(GObject o, IsDescendantOf CredSshInteractive o) => IsCredSshInteractive o Source # | |
Defined in GI.Ggit.Objects.CredSshInteractive |
toCredSshInteractive :: (MonadIO m, IsCredSshInteractive o) => o -> m CredSshInteractive Source #
Cast to CredSshInteractive
, for types for which this is known to be safe. For general casts, use castTo
.
noCredSshInteractive :: Maybe CredSshInteractive Source #
A convenience alias for Nothing
:: Maybe
CredSshInteractive
.
Methods
getUsername
credSshInteractiveGetUsername :: (HasCallStack, MonadIO m, IsCredSshInteractive a) => a -> m Text Source #
No description available in the introspection data.
new
credSshInteractiveNew Source #
:: (HasCallStack, MonadIO m) | |
=> Text | |
-> m CredSshInteractive | (Can throw |
No description available in the introspection data.
Properties
username
No description available in the introspection data.
constructCredSshInteractiveUsername :: IsCredSshInteractive o => Text -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “username
” property. This is rarely needed directly, but it is used by new
.
getCredSshInteractiveUsername :: (MonadIO m, IsCredSshInteractive o) => o -> m Text Source #
Get the value of the “username
” property.
When overloading is enabled, this is equivalent to
get
credSshInteractive #username