Net::CLI::User

Net::CLI::User is a user class for Net::CLI.
Download

Net::CLI::User Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Eric Hacker
  • Publisher web site:
  • http://search.cpan.org/~hacker/Agent-TCLI-0.02/lib/Agent/TCLI/Transport/Test/Testee.pm

Net::CLI::User Tags


Net::CLI::User Description

Net::CLI::User is a user class for Net::CLI. Net::CLI::User is a user class for Net::CLI.SYNOPSISAn object for storing Net::CLI user information. my $user = Net::CLI::User->new( 'id' => 'user@example.com', 'protocol' => 'jabber', 'auth' => 'read only', ); my $name = $user->get_name; print "My user is ".$name.". n"; print $name."'s domain is ".$user->get_domain.". n";ATTRIBUTESThe following attributes are accessible through standard accessor/mutator methods and may be set as a parameter to new unless otherwise noted.idID of user in a form acceptable to the protocol. XMPP/Jabber IDs MUST not include resource information.protocolProtocol that user is allowed access on. Currently only xmpp and xmpp-groupchat are supported by Transport::XMPP. If the protocol is xmpp-groupchat, the Transport will automatically join the conference room at start-up.authAuthorization level of user. MUST be one of these values: reader has read access writer has write access master has root access logger receives copies of all messages, can't do anythingNote that commands must choose from the above to determine if a user can do anything. Not very robust, but hey, it's not even 1.0 yet.Every user should be defined with an auth, but currently this is not being checked anywhere.passwordA password for the user.For a private XMPP chatroom, this is used to log on. It is not used anywhere else currently. Requirements: · Perl


Net::CLI::User Related Software