NAME
Nitesi::Account::Manager - Account Manager for Nitesi Shop Machine
SYNOPSIS
$acct = Nitesi::Account::Manager->instance(provider_sub => \&account_providers,
session_sub => \&session);
$acct->init_from_session;
$acct->status(login_info => 'Please login before checkout',
login_continue => 'checkout');
$acct->login(username => 'shopper@nitesi.biz', password => 'nevairbe');
$acct->logout();
METHODS
init
Initializer called by instance class method.
init_from_session
Reads user information through session routine.
login
Perform login.
logout
Perform logout.
username
Retrieve username. Returns empty string if current user isn't authenticated.
status
Saves or retrieves status information.
acl
ACL check, see ACL::Lite for details.
AUTHOR
Stefan Hornburg (Racke), <racke@linuxia.de>
LICENSE AND COPYRIGHT
Copyright 2011 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.