Connector::Builtin::Authentication::Password
Lightweight connector to check passwords against a unix style password file. Path to the password file is taken from LOCATION.
The username is the first component of the path, the password needs to be passed in the extended parameters using the key password.
Example:
$connector->get('username', { password => 'mySecret' } );
1 if the password matches, 0 if the user is found but the password does not match and undef if the user is not found.
The connector will die if the password file is not readable or if one of the parameters is missing.
Usernames are limited to [a-zA-Z0-9_\-\.], invalid names are treated as not found.
2 POD Errors
The following errors were encountered while parsing the POD:
Unknown directive: =head
To install Connector, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Connector
CPAN shell
perl -MCPAN -e shell install Connector
For more information on module installation, please visit the detailed CPAN module installation guide.