
Crypt::OdinAuth - Cryptographic calculations for the OdinAuth SSO system

Version 0.2

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>

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.

You can find documentation for this module with the perldoc command.
perldoc Crypt::OdinAuth
You can also look for information at:
http://rt.cpan.org/NoAuth/Bugs.html?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.