Business::BancaSella::Ris::File - Check the existance of One-Time-Password


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

Index


NAME

Top

Business::BancaSella::Ris::File - Check the existance of One-Time-Password in a standard Banca Sella ASCII file.

SYNOPSIS

Top

  use Business::BancaSella::Ris;

  my $ris = new Business::BancaSella::Ris::File(file => 'filePath/filename.ric');
  my $ok = $ris->check($otp);
  if ($ok) {$ris->remove($otp));

DESCRIPTION

Top

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

METHODS

Top

file()

Set or get the file path where are stored One-Time passwords.

extract(otp)

Check password and return false if not found, else remove password from OTP file

check(otp)

Return TRUE or FALSE if the OTP is present in the file

remove(otp)

Remove the OTP if present in the file. Raise an error if not present.

prepare(source_file)

Don't do nothing :-). Here only for interface compatibility.

AUTHOR

Top

Bruni Emiliano, info@ebruni.it

SEE ALSO

Top

Business::BancaSella::Ric::Mysql


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