The yote root is the main app of the class. It is also always object id 1 and sits at the head of the yote data tree. Yote::YoteRoot is a subclass of Yote::AppRoot.
Returns the list of the objects to the client provided the client is authroized to receive them.
Returns the app object singleton of the given package name.
Returns the singleton root object. It creates it if it has not been created.
Creates and returns a guest token, associating it with the calling IP address.
Attempts to log the account in with the given credentials. Returns a data structre with the login token and the login object.
Invalidates the tokens of the currently logged in user.
This method may only be invoked by a login with the root bit set. This clears out the app entirely.
Causes an email with a recovery link sent to the email in question, if it is associated with an 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.
Purges the login account from the system if its credentials are verified. It moves the account to a special removed logins hidden field under the yote root.
Copyright (C) 2012 Eric Wolf
This module is free software; it can be used under the same terms as perl itself.