Yote::YoteRoot
This is the first object and the root of the object graph. It stores user logins and stores the apps themselves.
Returns the cron. Only a root login may call this.
Marks the _is_disabled flag for the account to be disabled. Throws access exception unless the logged_in_account is a root one.
Marks the _is_disabled flag for the login to be disabled. Throws access exception unless the logged_in_account is a root one.
Removes the _is_disabled flag for the account to be enabled. Throws access exception unless the logged_in_account is a root one.
Removes the _is_disabled flag for the login to be enabled. Throws access exception unless the logged_in_account is a root one.
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.
Removes the backups of purged apps.
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.
Takes a login as an argument and makes it root. Throws access error if the callee is not root.
Returns a new yote object, initialized with the optional has reference.
Returns a new root yote object, initialized with the optional has reference.
Returns a new Yote::SimpleTemplate object and marks its creator.
Returns a new user yote object, initialized with the optional has reference.
This method may only be invoked by a login with the root bit set. This clears out the app entirely.
Registers the app object with the app key. This means there can be generic apps.
Removes the root bit from the login.
Removes and rebuilds the cron.
Hash of classname to app singleton.
Hash of email to login object.
Hash of handle to login object.
A singleton instance of the Cron.
A list of directories that Yote will use to look for perl packages.
A hash of recipient ids to a hash of objects ids whos clients are allowed to access this object.
A hash of object ids to a hash of recipient ibds whos clients are allowed to access this object.
A hash of recipient ids to a hash of objects ids that need refreshing for that recipient.
This is a hash of login ID to account.
Eric Wolf coyocanid@gmail.com http://madyote.com
Copyright (C) 2012 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.