Crypt::OdinAuth - Cryptographic calculations for the OdinAuth SSO system
Version 0.2.1
This module exports functions for calculating and verifying signed cookies for OdinAuth SSO Apache handler.
use Crypt::OdinAuth; Crypt::OdinAuth::hmac_for('secret', 'login_name', 'role1,role2,role3', 1337357387, 'netcat') #=> '349b7135f43bd4c0111564960e7d9d583dde0c5c' Crypt::OdinAuth::cookie_for('secret', 'login_name', 'role1,role2,role3', 'netcat') #=> 'login_name-role1,role2,role3-1337357638-7ec415a6816c8e9dab7b788e1262769ef80af7d8'
Maciej Pasternacki, <maciej at pasternacki.net>
<maciej at pasternacki.net>
Please report any bugs or feature requests to bug-apache2-authen-odinauth at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Apache2-Authen-OdinAuth. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-apache2-authen-odinauth at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Crypt::OdinAuth
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Apache2-Authen-OdinAuth
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Apache2-Authen-OdinAuth
CPAN Ratings
http://cpanratings.perl.org/d/Apache2-Authen-OdinAuth
Search CPAN
http://search.cpan.org/dist/Apache2-Authen-OdinAuth/
Copyright 2012 Maciej Pasternacki.
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.
To install Apache2::Authen::OdinAuth, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache2::Authen::OdinAuth
CPAN shell
perl -MCPAN -e shell install Apache2::Authen::OdinAuth
For more information on module installation, please visit the detailed CPAN module installation guide.