gi-webkit2-4.0.26: WebKit2 bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
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

Methods

(==) :: Credential -> Credential -> Bool

(/=) :: Credential -> Credential -> Bool

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

IsGValue Credential Source #

Convert Credential to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.WebKit2.Structs.Credential

Methods

toGValue :: Credential -> IO GValue

fromGValue :: GValue -> IO Credential

HasParentTypes Credential Source # 
Instance details

Defined in GI.WebKit2.Structs.Credential

type ParentTypes Credential Source # 
Instance details

Defined in GI.WebKit2.Structs.Credential

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

Methods

Overloaded methods

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