MKDoc::Auth is an authentication framework for MKDoc::Core module.
INTERFACE
Whenever a user authenticates, the framework will set a user object which can be accessed in $::MKD_USER.
The $::MKD_USER object MUST have the following methods:
$object->login() - the login of the user.
$object->email() - the email address of the user.
$object->full_name() - the full name of the user.
The $::MKD_USER variable can be undefined.
That's it. MKDoc::Auth does not make any other guarantees. Any piece of code which uses MKDoc::Auth through this interface should be able to use any other authentication layer provided they implement the simple $::MKD_USER object described above.
FUNCTIONALITY
Installing this product on an MKDoc::Core site will provide the following services:
/.signup.html
Open a new account - send a confirmation email
/.confirm.html?< confirm_id >
Activate / confirm a new account.
/.login.html
Login / logout / log as someone else.
/~< login >/.edit.html
Edit user account information.
/~< login >/.remove.html
Remove user account.
/.login-recover.html
Recover lost login information - sends an email
/.password-recover.html
Recover lost password for a given login - sends an email.
Product's homepage
Requirements:
· Perl