Roger Pettett > ClearPress > ClearPress::authenticator::session

Download:
ClearPress-460.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Module Version: 413   Source  

NAME ^

ClearPress::authenticator::session

VERSION ^

$LastChangedRevision: 413 $

SYNOPSIS ^

DESCRIPTION ^

SUBROUTINES/METHODS ^

authen_token - validate a token, usually from cookie

  my @aResults = $oSession->authen_token($sToken);

encode_token - encrypt and base64 encode user information

  my $sEncoded = $oSession->encode_token($hrUserData);

decode_token - decode and decrypt a token

  my $hrUserData = $oSession->decode_token($sEncoded);

key - get/set accessor for cipher key (optionally configured during construction)

  my $sKey = $oSession->key();

cipher - a configure Crypt::CBC object

  my $oCipher = $oSession->cipher();

DIAGNOSTICS ^

CONFIGURATION AND ENVIRONMENT ^

DEPENDENCIES ^

strict
warnings
Crypt::CBC
base
ClearPress::authenticator
Readonly
Carp
MIME::Base64
YAML::Syck

INCOMPATIBILITIES ^

BUGS AND LIMITATIONS ^

AUTHOR ^

$Author: Roger Pettett$

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/>.

syntax highlighting: