Rechercher une page de manuel
Jifty::Plugin::Authentication::Password::Action::Login.3pm
Langue: en
Version: 2009-07-20 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
Jifty::Plugin::Authentication::Password::Action::Login - process login with passwordnew
arguments
Return the email and password form fieldsvalidate_email ADDRESS
Makes sure that the email submitted is a legal email and that there's a user in the database with it.Overridden from Jifty::Action::Record.
validate_username ADDRESS
there's a user in the database with it.Overridden from Jifty::Action::Record.
validate_password PASSWORD
Makes sure that the password submitted actually exists, unless there's a token and a hashed password.Overridden from Jifty::Action::Record.
validate_token TOKEN
Make sure we issued the token within the last 30 seconds, otherwise time out the request.take_action
Actually check the user's password. If it's right, log them in. Otherwise, throw an error.load_user
Load up and return a YourApp::User object for the user trying to log inlogin_message $user_object
Returns the ``hi, you're logged in message''Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre