You are in Home page » Products » Opensource » CPAN » Business::BancaSella » Help on line

Soluzione integrata di telefonia su internet a banda larga.
Search on this site:  

Are you interested to be updated about all things happens to me day by day?
Visit my new blog

NAME

Business::BancaSella::Ris::Mysql - Check the existance of One-Time-Password from a mysql database


SYNOPSIS

  use Business::BancaSella::Ris;

  my $ric = new Business::BancaSella::Ris::Mysql(
                                dbh             => $DBI_handle,
                                tableName       => $table_with_otp,
                                fieldName       => $field_with_otp
                                );
  my $ok = $ris->check($otp);
  if ($ok) {$ris->remove($otp));


DESCRIPTION

This module check if One-Time-Password is present in a mysql database and it could remove it.


METHODS

dbh()

Set or get and active DBI handle to Mysql database where OTP are stored.

fieldName()

Set or get the field name of the table where OTP are stored.

tableName()

Set or get the table name where OTP are stored

extract(otp)

Check password and return false if not found, else remove password from table.

check(otp)

Return TRUE or FALSE if the OTP is present in mysql database.

remove(otp)

Remove the OTP if present in the mysql database. Raise an error if not present.

prepare(source_file)

Insert into database passwords from $source_file that have one password on each row.


AUTHOR

Bruni Emiliano, info@ebruni.it


SEE ALSO

Business::BancaSella::Ric::File

JavaScript Menu Courtesy of Milonic.com




Comments
Leave a comment

Names and emails are required (emails aren't displayed), url is optional. Comments will be submitted to moderation.

Tags available are: <A>, <STRONG>, <B>, <EM>

No comment has been still sent. Do you wanna be the first?

 Copyrightę 1997-2006 Emiliano Bruni Online from 16/08/1998 with visitors Write me to: