OAuthomatic::SecretStorage::Keyring - Save tokens in secure storage, using Passwd::Keyring::Auto
version 0.0202
Implements OAuthomatic::SecretStorage interface using Passwd::Keyring::Auto (what usually means saving data in Gnome Keyring, KDE Wallet, Windows Vault or similar secure storage).
Note that tokens are saved in slightly specific way. Whenever client key is saved, we create two entries in keyring:
username: client_key password: client_secret
and
username: "oauthomatic_client_key" password: client_key
The former is natural. The latter helps find what current key is (this record is not very secret but it is easier to keep it too than invent second configuration backend).
Access tokens are treated similarly:
username: token password: token_secret
username: "oauthomatic_token" password: token
OAuthomatic::Config object used to bundle various configuration params.
OAuthomatic::Server object used to bundle server-related configuration params.
Actual password backend in use.
Usually initialized automatically, guessing best possible password backend (according to Passwd::Keyring::Auto selection and using it's app_name and password_group attributes), but can be specified if application prefers to use sth. specific:
app_name
password_group
keyring => Passwd::Keyring::KDEWallet->new(...))
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
This software is copyright (c) 2015 by Marcin Kasperski.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install OAuthomatic, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OAuthomatic
CPAN shell
perl -MCPAN -e shell install OAuthomatic
For more information on module installation, please visit the detailed CPAN module installation guide.