Nitesi::Account:Provider::DBI - DBI Account Provider for Nitesi Shop Machine
Initializer for this class. Arguments are:
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.
Name of field which determines whether user is disabled.
Check parameters username and password for correct authentication.
Returns hash reference with the following values in case of success:
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.
Check whether user exists.
Become an user:
Loads user with uid.
Stefan Hornburg (Racke), <firstname.lastname@example.org>
Copyright 2011 Stefan Hornburg (Racke) <email@example.com>.
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.