CGI::Application::Plugin::Authentication::Driver 0.11 review

Download
by rbytes.net on

License: Perl Artistic License
File size: 46K
Developer: Cees Hek
0 stars award from rbytes.net

CGI::Application::Plugin::Authentication::Driver is a Perl base module for building driver clasees for CGI::Application::Plugin::Authentication.

SYNOPSIS

package CGI::Application::Plugin::Authentication::Driver::MyDriver;
use base qw(CGI::Application::Plugin::Authentication::Driver);

sub verify_credentials {
my $self = shift;
my @credentials = @_;

if ( >>> Validate Credentials [ 'DBI',
DSN => '...',
TABLE => 'users',
CONSTRAINTS => {
username => '__CREDENTIAL_1__',
'MD5:password' => '__CREDENTIAL_2__',
}
],

Here we are saying that the password field is encoded using an MD5 hash, and should be checked accordingly.

Requirements:
Perl

CGI::Application::Plugin::Authentication::Driver 0.11 search tags