Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype Credential = Credential (ManagedPtr Credential)
- credentialCopy :: (HasCallStack, MonadIO m) => Credential -> m Credential
- credentialFree :: (HasCallStack, MonadIO m) => Credential -> m ()
- credentialGetPassword :: (HasCallStack, MonadIO m) => Credential -> m Text
- credentialGetPersistence :: (HasCallStack, MonadIO m) => Credential -> m CredentialPersistence
- credentialGetUsername :: (HasCallStack, MonadIO m) => Credential -> m Text
- credentialHasPassword :: (HasCallStack, MonadIO m) => Credential -> m Bool
- credentialNew :: (HasCallStack, MonadIO m) => Text -> Text -> CredentialPersistence -> m Credential
Exported types
newtype Credential Source #
Memory-managed wrapper type.
Credential (ManagedPtr Credential) |
Instances
Eq Credential Source # | |
Defined in GI.WebKit2.Structs.Credential (==) :: Credential -> Credential -> Bool (/=) :: Credential -> Credential -> Bool | |
GBoxed Credential Source # | |
Defined in GI.WebKit2.Structs.Credential | |
ManagedPtrNewtype Credential Source # | |
Defined in GI.WebKit2.Structs.Credential toManagedPtr :: Credential -> ManagedPtr Credential | |
TypedObject Credential Source # | |
Defined in GI.WebKit2.Structs.Credential glibType :: IO GType | |
IsGValue Credential Source # | Convert |
Defined in GI.WebKit2.Structs.Credential toGValue :: Credential -> IO GValue fromGValue :: GValue -> IO Credential | |
HasParentTypes Credential Source # | |
Defined in GI.WebKit2.Structs.Credential | |
type ParentTypes Credential Source # | |
Defined in GI.WebKit2.Structs.Credential type ParentTypes Credential = '[] :: [Type] |
Methods
Overloaded methods
copy
:: (HasCallStack, MonadIO m) | |
=> Credential |
|
-> m Credential | Returns: A copy of passed in |
Make a copy of the Credential
.
Since: 2.2
free
:: (HasCallStack, MonadIO m) | |
=> Credential |
|
-> m () |
Free the Credential
.
Since: 2.2
getPassword
credentialGetPassword Source #
:: (HasCallStack, MonadIO m) | |
=> Credential |
|
-> m Text | Returns: The password stored in the |
Get the password currently held by this Credential
.
Since: 2.2
getPersistence
credentialGetPersistence Source #
:: (HasCallStack, MonadIO m) | |
=> Credential |
|
-> m CredentialPersistence | Returns: The |
Get the persistence mode currently held by this Credential
.
Since: 2.2
getUsername
credentialGetUsername Source #
:: (HasCallStack, MonadIO m) | |
=> Credential |
|
-> m Text | Returns: The username stored in the |
Get the username currently held by this Credential
.
Since: 2.2
hasPassword
credentialHasPassword Source #
:: (HasCallStack, MonadIO m) | |
=> Credential |
|
-> m Bool | Returns: |
Determine whether this credential has a password stored.
Since: 2.2
new
:: (HasCallStack, MonadIO m) | |
=> Text |
|
-> Text |
|
-> CredentialPersistence |
|
-> m Credential | Returns: A |
Create a new credential from the provided username, password and persistence mode.
Since: 2.2