Authen::Simple::Atheme - Simple authentication to Atheme IRC services
use Authen::Simple::Atheme; my $auth = Authen::Simple::Atheme->new( host => 'services.network.tld', port => 8080 ); if ( $auth->authenticate( $username, $password ) ) { # successful authentication }
Atheme authentication
This method takes a hash of parameters. The following options are valid:
Connection host, can be a hostname or IP address. Defaults to localhost.
localhost
Connection port, defaults to 8080.
8080
Any object that supports debug, info, error, and warn.
debug
info
error
warn
log => Log::Log4perl->ge_logger('Authen::Simple::Atheme')
This method takes two parameters, a username and a password (In that order). Returns true on success and false on failure.
This method takes three parameters, a username, a password, and an email address (In that order). Returns the XMLRPC hash given to it by Atheme.
Authen::Simple
Atheme
Alexandria M. Wolcott alyx@cpan.org
alyx@cpan.org
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
2 POD Errors
The following errors were encountered while parsing the POD:
'=item' outside of any '=over'
You forgot a '=back' before '=head1'
To install Authen::Simple::Atheme, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Authen::Simple::Atheme
CPAN shell
perl -MCPAN -e shell install Authen::Simple::Atheme
For more information on module installation, please visit the detailed CPAN module installation guide.