-
-
20 Oct 2020 12:45:40 UTC
- Distribution: AnyEvent-Radius
- Module version: 1.1.3
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (0)
- Testers (227 / 0 / 2)
- Kwalitee
Bus factor: 1- License: artistic_2
- Perl: v5.10.0
- Activity
24 month- Tools
- Download (11.93KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 2 contributors- Sergey Leschenko <sergle.ua at gmail.com>
- PortaOne <perl-radius at portaone.com>
- Dependencies
- AnyEvent
- AnyEvent::Handle::UDP
- Class::Accessor::Fast
- Data::Radius
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
AnyEvent::Radius - modules to implement AnyEvent-based RADIUS client or server
SYNOPSYS
use AnyEvent; use AnyEvent::Radius::Client; my $dict = AnyEvent::Radius::Client->load_dictionary('path-to-radius-dictionary'); sub read_reply_callback { # $h is HASH-REF {type, request_id, av_list, from, authenticator} my ($self, $h) = @_; ... } my $client = AnyEvent::Radius::Client->new( ip => $ip, port => $port, on_read => \&read_reply_callback, dictionary => $dict, secret => $secret, ); $client->send_auth(AV_LIST1); $client->send_auth(AV_LIST2); ... $client->wait;
SEE ALSO
AnyEvent::Radius::Client, AnyEvent::Radius::Server
examples/ directory for basic client and server implementation
AUTHOR
Sergey Leschenko <sergle.ua at gmail.com>
PortaOne Development Team <perl-radius at portaone.com> is the current module's maintainer at CPAN.
COPYRIGHT & LICENSE
Copyright 2016 PortaOne Inc., all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Module Install Instructions
To install AnyEvent::Radius, copy and paste the appropriate command in to your terminal.
cpanm AnyEvent::Radius
perl -MCPAN -e shell install AnyEvent::Radius
For more information on module installation, please visit the detailed CPAN module installation guide.