Passwd::Keyring::Memory - fallback keyring for environments where no better keyring is available.
use Passwd::Keyring::Memory; my $keyring = Passwd::Keyring::Memory->new(); $keyring->set_password("John", "verysecret", "my-realm"); my $password = $keyring->get_password("John", "my-realm"); $keyring->clear_password("John", "my-realm");
Note: see Passwd::Keyring::Auto::KeyringAPI for detailed comments on keyring method semantics (this document is installed with Passwd::Keyring::Auto package).
Initializes the processing.
Sets (stores) password identified by given realm for given user
Reads previously stored password for given user in given app. If such password can not be found, returns undef.
Removes given password (if present)
Returns info, whether this keyring actually saves passwords persistently.
(false in this case)
Please report any bugs or feature requests to issue tracker at https://bitbucket.org/Mekk/perl-keyring-memory.
You can find documentation for this module with the perldoc command.
You can also look for information at:
Source code is tracked at:
Copyright 2012 Marcin Kasperski.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.