Yote::AppRoot - Application Server Base Objects
This is the root class for all Yote Apps. Extend it to create an App Object.
Each Web Application has a single container object as the entry point to that object which is an instance of the Yote::AppRoot class. A Yote::AppRoot extends Yote::Obj and provides some class methods and the following stub methods.
Returns the currently logged in account using this app.
Create a login with the given client supplied args : h => handle, e => email, p => password. This checks to make sure handle and email address are not already taken. This is invoked by the javascript call $.yote.create_login( handle, password, email )
Causes an email with a recovery link sent to the email in question, if it is associated with an account.
Resets the password of the login for this account.
Resets the password ( kepts hashed in the database ) for the account that the recovery token belongs to. Returns the url_the_person_requested_recovery that was given in the recover_password call.
Returns a token that is used by the client and server to sync up data for the case of a user not being logged in.
This is a hash of app name to app object.
A hash of handle to Yote::Login object for that user.
A hash of email address to Yote::Login object for that user.
A list containing names of directories on the server that should be searched for Yote app classes and libraries.
Eric Wolf
Copyright (C) 2011 Eric Wolf
This module is free software; it can be used under the same terms as perl itself.
To install Yote, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Yote
CPAN shell
perl -MCPAN -e shell install Yote
For more information on module installation, please visit the detailed CPAN module installation guide.