gi-webkit2-4.0.25: 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.

Instances

Instances details
Eq Credential Source # 
Instance details

Defined in GI.WebKit2.Structs.Credential

IsGValue Credential Source #

Convert Credential to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.WebKit2.Structs.Credential

BoxedObject Credential Source # 
Instance details

Defined in GI.WebKit2.Structs.Credential

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