Jifty::Plugin::Authentication::Password::Dispatcher.3pm

Langue: en

Autres versions - même langue

Version: 2008-04-08 (ubuntu - 08/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

Jifty::Plugin::Authentication::Password::Dispatcher - password plugin dispatcher

DESCRIPTION

All the dispatcher rules jifty needs to support "" in Jifty::Authentication::Password

RULES

before logout

Logout and return home.

See Jifty::Plugin::Authentication::Password::Action::Logout.

before *

Setup the navigation menu for login or logout.

on qr/^(?:signup|lost_password)$/

Redirect to home if logged.

Request a password reminder or signup for an account otherwise.

on login

Redirect to home if logged.

Show the login form otherwise.

before reset_lost_password

Request a password reset.

before passwordreminder

Request a new password reminder to be sent by email.

See Jifty::Plugin::Authentication::Password::Action::SendPasswordReminder.

before signup

Sign up for an account.

See Jifty::Plugin::Authentication::Password::Action::Signup.

before login

Login to your account.

See Jifty::Plugin::Authentication::Password::Action::Login.

not_logged_in_nav

Adds the login and signup links to the navigation menu.

logged_in_nav

Adds the logout link to the navigation menu.

SEE ALSO

Jifty::Plugin::Authentication::Password, Jifty::Plugin::Authentication::Password::View Jifty is Copyright 2005-2007 Best Practical Solutions, LLC. Jifty is distributed under the same terms as Perl itself.