gnome-keyring-0.2.1: Bindings for libgnome-keyring

Portabilitynon-portable (FFI)
Stabilityexperimental
MaintainerJohn Millikin <jmillikin@gmail.com>

Gnome.Keyring.NetworkPassword

Description

Networks passwords are a simple way of saving passwords associated with a certain user, server, protocol, and other fields.

Synopsis

Documentation

findNetworkPassword :: NetworkPasswordLocation -> Operation [NetworkPassword]Source

Find a previously stored NetworkPassword. Searches all keyrings.

The user may be prompted to unlock necessary keyrings, and will be prompted for access to the items if needed.

Network passwords are items with the ItemType ItemNetworkPassword.

setNetworkPassword :: Maybe KeyringName -> NetworkPasswordLocation -> Text -> Operation ItemIDSource

Store a network password.

If an item already exists for with this network info (ie: user, server, etc.) then it will be updated.

Whether a new item is created or not, the item's ID will be returned.

Network passwords are items with the ItemType ItemNetworkPassword.