Starting New Radius System, simple to configure Radius Server
This commit is contained in:
parent
10eb6d1735
commit
119690dae2
0
Radius.php
Normal file
0
Radius.php
Normal file
1994
system/autoload/Parsedown.php
Normal file
1994
system/autoload/Parsedown.php
Normal file
File diff suppressed because it is too large
Load Diff
60
system/devices/RadiusRest.php
Normal file
60
system/devices/RadiusRest.php
Normal file
@ -0,0 +1,60 @@
|
||||
<?php
|
||||
|
||||
class RadiusRest {
|
||||
|
||||
// show Description
|
||||
function description()
|
||||
{
|
||||
return [
|
||||
'title' => 'Radius Rest API',
|
||||
'description' => 'This devices will handle Radius Connection using Rest API',
|
||||
'author' => 'ibnu maksum',
|
||||
'url' => [
|
||||
'Wiki/Tutorial' => 'https://github.com/hotspotbilling/phpnuxbill/wiki/Radius-Rest',
|
||||
'Telegram' => 'https://t.me/ibnux',
|
||||
'Donate' => 'https://paypal.me/ibnux'
|
||||
]
|
||||
];
|
||||
}
|
||||
|
||||
// Add Customer to Mikrotik/Device
|
||||
function add_customer($customer, $plan)
|
||||
{
|
||||
}
|
||||
|
||||
// Remove Customer to Mikrotik/Device
|
||||
function remove_customer($customer, $plan)
|
||||
{
|
||||
}
|
||||
|
||||
// Add Plan to Mikrotik/Device
|
||||
function add_plan($plan)
|
||||
{
|
||||
}
|
||||
|
||||
// Update Plan to Mikrotik/Device
|
||||
function update_plan($old_name, $plan)
|
||||
{
|
||||
}
|
||||
|
||||
// Remove Plan from Mikrotik/Device
|
||||
function remove_plan($plan)
|
||||
{
|
||||
}
|
||||
|
||||
// check if customer is online
|
||||
function online_customer($customer, $router_name)
|
||||
{
|
||||
}
|
||||
|
||||
// make customer online
|
||||
function connect_customer($customer, $ip, $mac_address, $router_name)
|
||||
{
|
||||
}
|
||||
|
||||
// make customer disconnect
|
||||
function disconnect_customer($customer, $router_name)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user