Alex Vandiver > Jifty > Jifty::Plugin::Authentication::PasswordAction::GeneratePasswordToken

Download:
Jifty-1.50430.tar.gz

Annotate this POD

CPAN RT

New  11
Open  3
Stalled  1
View/Report Bugs
Source  

NAME ^

Jifty::Plugin::Authentication::PasswordAction::GeneratePasswordToken - generate password token

METHODS ^

new

Looks up what Jifty::Plugin::Authentication::Password is configured to login via, username or email address, to know what form element to expect.

arguments

We need the email of the user we're fetching a token for, so we can return the salt.

take_action

Generate a token and throw it back to the browser. Also, return the user's password salt in $self->result->content.

load_user

Load up and return a YourApp::User object for the user trying to log in

syntax highlighting: