IPWorks Auth 2020 Node.js Edition

Questions / Feedback?

Attribute Event

Fires for each attribute that is received.

Syntax

radius.on('Attribute', [callback])

Callback

The 'callback' is called when the 'Attribute' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.attributeType
e.name
e.value (buffer)

Remarks

This event fires once for each attribute that is received. This will fire when calling Authenticate.

AttributeType is the attribute type. Common values are:

AttributeTypeMeaning
1User-Name
2User-Password
3CHAP-Password
4NAS-IP-Address
5NAS-Port
6Service-Type
7Framed-Protocol
8Framed-IP-Address
9Framed-IP-Netmask
10Framed-Routing
11Filter-Id
12Framed-MTU
13Framed-Compression
14Login-IP-Host
15Login-Service
16Login-TCP-Port
17(unassigned)
18Reply-Message
19Callback-Number
20Callback-Id
21(unassigned)
22Framed-Route
23Framed-IPX-Network
24State
25Class
26Vendor-Specific
27Session-Timeout
28Idle-Timeout
29Termination-Action
30Called-Station-Id
31Calling-Station-Id
32NAS-Identifier
33Proxy-State
34Login-LAT-Service
35Login-LAT-Node
36Login-LAT-Group
37Framed-AppleTalk-Link
38Framed-AppleTalk-Network
39Framed-AppleTalk-Zone
40-59 Reserved for accounting
60CHAP-Challenge
61NAS-Port-Type
62Port-Limit
63Login-LAT-Port

Name is the text description of the attribute.

Value is the value of the attribute.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Auth 2020 Node.js Edition - Version 20.0 [Build 8155]