Jifty::LetMe - A way to expose single-link URLs to your applications
Create a new "LetMe" authentication object; it takes no parameters. It calls "_init" to do any initialization.
Called with whatever "new" was called with. By default, does nothing.
Contains an app-specific "user" object.
If the user has presented a valid token, returns an (app-specific subclass of the) Jifty::CurrentUser object for the user who has the email address in $self->email. If no user has that email address, returns undef.
Returns an (app-specific subclass of the) Jifty::CurrentUser object for the user who has the email address ADDRESS.
Returns an auth checksum for the current combination of
user token until
Parse a string of the form
mylongusername@example.com/update_task/23/until/20050101/bekidrikufryvagygefuba
into
email => mylongusername@example.com, token => 'update_task/23' until => 20050101, checksum_provided => bekidrikufryvagygefuba
Returns the "letme" token for this set of credentials. This should round trip cleanly with from_token
A variant of as_token that encodes the user's email address suitably for passing in a URL
Returns the fully qualified URL for this LetMe. It's composed of Jifty->web->url, "base_path" and "as_encoded_token"
By default, all "LetMe" actions live at URLs under '/let' inside your application. Override this subroutine to change that.
By default, it returns '/let'
Returns true if the credentials the user presented validate ok. Returns false otherwise.
Returns true if the checksum the user provided is correct. Doesn't actually do much input checking. You want to call "validate"
To install Jifty, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Jifty
CPAN shell
perl -MCPAN -e shell install Jifty
For more information on module installation, please visit the detailed CPAN module installation guide.