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


Business-BancaSella documentation  | view source Contained in the Business-BancaSella distribution.

Index


NAME

Top

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

SYNOPSIS

Top

  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

Top

This module extract an One-Time-Password from a mysql database.

METHODS

Top

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

Top

Bruni Emiliano, info@ebruni.it

SEE ALSO

Top

Business::BancaSella::Ric::File


Business-BancaSella documentation  | view source Contained in the Business-BancaSella distribution.