Module ocs_radius_authentication

This radius behaviour callback module performs authentication procedures in the ocs application.

Copyright © 2016 - 2026 SigScale Global Inc.

Behaviours: radius.

Description

This radius behaviour callback module performs authentication procedures in the ocs application.

Function Index

init/2This callback function is called when a radius_server behaviour process initializes.
request/4This function is called when a request is received on the port.
terminate/2This callback function is called just before the server exits.
update_client/3*Try to update client table with received NAS-Identifier.

Function Details

init/2

init(Address, Port) -> Result

This callback function is called when a radius_server behaviour process initializes.

request/4

request(Address, Port, Packet, State) -> Result

This function is called when a request is received on the port.

terminate/2

terminate(Reason, State) -> ok

This callback function is called just before the server exits.

update_client/3 *

update_client(Address, OldId, NewId) -> ok

Try to update client table with received NAS-Identifier. Pessimistic to have a light touch as it's informational only.


Generated by EDoc