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

Download:
Business-BancaSella-0.13.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.11   Source  

NAME ^

Business::BancaSella::Ric::Mysql - Extract One-Time-Password from a mysql database

SYNOPSIS ^

  use Business::BancaSella::Ric;
  
  my $ric = new Business::BancaSella::Ric::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 mysql database.

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 dtored

extract()

Return and delete the first OTP from mysql database.

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

syntax highlighting: