pf::email_activation - module to view, query and manage email activations
pf::email_activation contains the functions necessary to manage all aspects of email activation: creation, deletion, activation, etc. It also includes utility methods generate activation codes and validate them.
Notice that this module doesn't export all its subs like our other modules do. This is an attempt to shift our paradigm towards calling with package names and avoid the double naming.
For ex: pf::email_activation::view() instead of pf::email_activation::email_activation_view()
Remove this note when it will be no longer relevant. ;)
TODO: This list is incomplete
Returns the activation code
Returns a list of: hash version, hash
Change the status of a given email activation code to VERIFIED which means it can't be used anymore.
Inverse inc. <info@inverse.ca>
Copyright (C) 2005-2013 Inverse inc.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.