Nitesi::Account:Provider::DBI - DBI Account Provider for Nitesi Shop Machine
DBI handle (required).
Account::Manager::Password instance (required).
List of fields (as array reference) to be retrieved from the database and put into account data return by login method.
Check parameters username and password for correct authentication.
Returns hash reference with the following values in case of success:
User identifier
Username
List of roles for this user.
List of permissions for this user.
Creates an account.
Deletes an account.
Returns list of roles for supplied user identifier.
Returns list of permissions for supplied user identifier and array reference with roles.
Get or set value.
Set password.
Check whether user exists.
Become an user:
$acct->become('our.customer@linuxia.de');
Loads user with uid.
Stefan Hornburg (Racke), <racke@linuxia.de>
Copyright 2011-2013 Stefan Hornburg (Racke) <racke@linuxia.de>.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Nitesi::DBI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Nitesi::DBI
CPAN shell
perl -MCPAN -e shell install Nitesi::DBI
For more information on module installation, please visit the detailed CPAN module installation guide.