gi-ggit-1.0.11: libgit2-glib bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Ggit.Objects.CredPlaintext

Description

Represents a plain text credential.

Synopsis

Exported types

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

Instances details
(GObject o, IsDescendantOf CredPlaintext o) => IsCredPlaintext o Source # 
Instance details

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

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

credPlaintextNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Text 
-> Text 
-> m CredPlaintext

(Can throw GError)

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