ClearPress
view release on metacpan or search on metacpan
lib/ClearPress/authenticator/session.pm view on Meta::CPAN
=head1 VERSION
$LastChangedRevision: 470 $
=head1 SYNOPSIS
=head1 DESCRIPTION
=head1 SUBROUTINES/METHODS
=head2 authen_token - validate a token, usually from cookie
my @aResults = $oSession->authen_token($sToken);
=head2 encode_token - encrypt and base64 encode user information
my $sEncoded = $oSession->encode_token($hrUserData);
=head2 decode_token - decode and decrypt a token
my $hrUserData = $oSession->decode_token($sEncoded);
=head2 key - get/set accessor for cipher key (optionally configured during construction)
my $sKey = $oSession->key();
=head2 cipher - a configure Crypt::CBC object
my $oCipher = $oSession->cipher();
=head1 DIAGNOSTICS
=head1 CONFIGURATION AND ENVIRONMENT
=head1 DEPENDENCIES
=over
=item strict
=item warnings
=item Crypt::CBC
=item base
=item ClearPress::authenticator
=item Readonly
=item Carp
=item MIME::Base64
=item YAML::Syck
=back
=head1 INCOMPATIBILITIES
=head1 BUGS AND LIMITATIONS
=head1 AUTHOR
$Author: Roger Pettett$
=head1 LICENSE AND COPYRIGHT
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
=cut
( run in 0.569 second using v1.01-cache-2.11-cpan-39bf76dae61 )