Bruni Emiliano > Business-BancaSella-0.13 > Business::BancaSella::Ric

Download:
Business-BancaSella-0.13.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.11   Source  

NAME ^

Business::BancaSella::Ric - Parent class for extracting One-Time-Password from different storage place

SYNOPSIS ^

Currently supported file, fileFast and mysql storage.

For file storage use:

  use Business::BancaSella::Ric;

  my $ric = new Business::BancaSella::Ric(
                                type            => 'file',
                                file            => 'filePath/filename.ric');
  my $otp = $ric->extract;

For file fast storage use:

  use Business::BancaSella::Ric;

  my $ric = new Business::BancaSella::Ric(
                                type            => 'filefast',
                                file            => 'filePath/filename.ric');
  my $otp = $ric->extract;

For Mysql database use:

  use Business::BancaSella::Ric;

  my $ric = new Business::BancaSella::Ric(
                                type            => 'mysql',
                                dbh             => $DBI_handle,
                                tableName       => $table_with_otp,
                                fieldName       => $field_with_otp);
  my $otp = $ric->extract;

DESCRIPTION ^

This module extract an One-Time-Password from a system storage place. Currently are supported only file, fileFast and mysql location for OTP.

AUTHOR ^

Bruni Emiliano, info@ebruni.it

SEE ALSO ^

  Business::BancaSella::Ric::File
  Business::BancaSella::Ric::Mysql