Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
Represents a ssh interactive credential.
Synopsis
- newtype CredSshInteractive = CredSshInteractive (ManagedPtr CredSshInteractive)
- class GObject 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
class GObject o => IsCredSshInteractive o Source #
Type class for types which can be safely cast to CredSshInteractive
, for instance with toCredSshInteractive
.
Instances
(GObject a, (UnknownAncestorError CredSshInteractive a :: Constraint)) => IsCredSshInteractive a Source # | |
Defined in GI.Ggit.Objects.CredSshInteractive | |
IsCredSshInteractive CredSshInteractive 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