Portability | non-portable (FFI) |
---|---|
Stability | experimental |
Maintainer | John Millikin <jmillikin@gmail.com> |
Networks passwords are a simple way of saving passwords associated with a certain user, server, protocol, and other fields.
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
.