|
You are in Home page » Products » Opensource » CPAN » Business::BancaSella » Help on line |
|
|
NAMEBusiness::BancaSella::Ris - Parent class for checking One-Time-Password from different storage place
SYNOPSISCurrently supported file, fileFast and mysql storage. For file storage use: use Business::BancaSella::Ris;
my $ris = new Business::BancaSella::Ris(
type => 'file',
file => 'filePath/filename.ric');
my $ok = $ris->check($otp);
if ($ok) {$ris->remove($otp));
For file fast storage use: use Business::BancaSella::Ris;
my $ris = new Business::BancaSella::Ris(
type => 'filefast',
file => 'filePath/filename.ric');
my $ok = $ris->check($otp);
if ($ok) {$ris->remove($otp));
For Mysql database use: use Business::BancaSella::Ric;
my $ris = new Business::BancaSella::Ric(
type => 'mysql',
dbh => $DBI_handle,
tableName => $table_with_otp,
fieldName => $field_with_otp);
my $ok = $ris->check($otp);
if ($ok) {$ris->remove($otp));
DESCRIPTIONThis module check if One-Time-Password is present in the system storage place and it could remove it. Currently are supported only file, fileFast and mysql location for OTP.
AUTHORBruni Emiliano, info@ebruni.it
SEE ALSOBusiness::BancaSella::Ris::File Business::BancaSella::Ris::MysqlJavaScript Menu Courtesy of Milonic.com |
|
||||||||||||||||||||||||||||||||||||||||||||||||
Comments
| Copyright© 1997-2006 Emiliano Bruni | Online from 16/08/1998 with |
Write me to:
|