gi-webkit2-4.0.27: WebKit2 bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.WebKit2.Structs.Credential

Description

No description available in the introspection data.

Synopsis

Exported types

newtype Credential Source #

Memory-managed wrapper type.

Constructors

Credential (ManagedPtr Credential) 

Instances

Instances details
Eq Credential Source # 
Instance details

Defined in GI.WebKit2.Structs.Credential

GBoxed Credential Source # 
Instance details

Defined in GI.WebKit2.Structs.Credential

ManagedPtrNewtype Credential Source # 
Instance details

Defined in GI.WebKit2.Structs.Credential

Methods

toManagedPtr :: Credential -> ManagedPtr Credential

TypedObject Credential Source # 
Instance details

Defined in GI.WebKit2.Structs.Credential

Methods

glibType :: IO GType

HasParentTypes Credential Source # 
Instance details

Defined in GI.WebKit2.Structs.Credential

IsGValue (Maybe Credential) Source #

Convert Credential to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.WebKit2.Structs.Credential

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe Credential -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe Credential)

type ParentTypes Credential Source # 
Instance details

Defined in GI.WebKit2.Structs.Credential

type ParentTypes Credential = '[] :: [Type]

Methods

Click to display all available methods, including inherited ones

Expand

Methods

copy, free, hasPassword.

Getters

getPassword, getPersistence, getUsername.

Setters

None.

copy

credentialCopy Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Credential

credential: a Credential

-> m Credential

Returns: A copy of passed in Credential

Make a copy of the Credential.

Since: 2.2

free

credentialFree Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Credential

credential: A Credential

-> m () 

Free the Credential.

Since: 2.2

getPassword

credentialGetPassword Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Credential

credential: a Credential

-> m Text

Returns: The password stored in the Credential.

Get the password currently held by this Credential.

Since: 2.2

getPersistence

credentialGetPersistence Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Credential

credential: a Credential

-> m CredentialPersistence

Returns: The CredentialPersistence stored in the Credential.

Get the persistence mode currently held by this Credential.

Since: 2.2

getUsername

credentialGetUsername Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Credential

credential: a Credential

-> m Text

Returns: The username stored in the Credential.

Get the username currently held by this Credential.

Since: 2.2

hasPassword

credentialHasPassword Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Credential

credential: a Credential

-> m Bool

Returns: True if the credential has a password or False otherwise.

Determine whether this credential has a password stored.

Since: 2.2

new

credentialNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Text

username: The username for the new credential

-> Text

password: The password for the new credential

-> CredentialPersistence

persistence: The CredentialPersistence of the new credential

-> m Credential

Returns: A Credential.

Create a new credential from the provided username, password and persistence mode.

Since: 2.2