Alex Vandiver

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