Acme-ReturnValue
view release on metacpan or search on metacpan
t/pms/Envolve.pm view on Meta::CPAN
=item first_name
A string, either the first name of the user, or their alias.
=item options
A hash of optional parameters.
=over
=item last_name
A string, the last name of the user.
=item picture_url
A url of a picture or avatar for the user.
=item is_admin
If set to 1, the user will gain admin privileges, which currently means that if enabled in the Envolve settings they'll be able to create and close chats administratively.
=back
=back
=head2 get_logout_command ( )
Returns a signed logout command string that can be used to log a user out of a chat by calling some javascript.
<script type="text/javascript">
env_executeCommand(command_string_goes_here);
</script>
If you prefer you can just inline it into the web page using the C<get_tags> method and pass no params to it.
=head2 get_tags ( [ first_name, login_options, ] )
Returns some HTML tags that can be inlined into your web page to start the chat. If no parameters are passed in, then the user will be anonymous. If C<first_name> is passed in then the user will be authenticated.
=over
=item first_name
See C<get_login_command>
=item login_options
See C<get_login_command>
=back
=head1 EXCEPTIONS
Currently this module doesn't throw any exceptions.
=head1 TODO
Nothing is planned until Envolve releases more functionality.
=head1 PREREQS
L<Moose>
L<MIME::Base64>
L<Digest::HMAC_SHA1>
L<Encode>
=head1 SUPPORT
=over
=item Repository
L<http://github.com/rizen/Chat-Envolve>
=item Bug Reports
L<http://github.com/rizen/Chat-Envolve/issues>
=back
=head1 SEE ALSO
If you want to see this module in use, check out The Lacuna Expanse L<http://www.lacunaexpanse.com>. If you want to learn more about Envolve visit their web site L<http://www.envolve.com>.
=head1 AUTHOR
JT Smith <jt_at_plainblack_dot_com>
=head1 LEGAL
Chat::Envolve is Copyright 2010 Plain Black Corporation (L<http://www.plainblack.com>) and is licensed under the same terms as Perl itself. Envolve and its copyrights and trademarks are the property of Envolve, Inc.
=cut
( run in 0.678 second using v1.01-cache-2.11-cpan-cdf2f3d4e48 )