IPWorks Auth 2020 Python Edition

Questions / Feedback?

on_attribute Event

Fires for each attribute that is received.

Syntax

class RADIUSAttributeEventParams(object):
  @property
  def attribute_type() -> int: ...
  @property
  def name() -> str: ...
  @property
  def value() -> bytes: ...

# In class RADIUS:
@property
def on_attribute() -> Callable[[RADIUSAttributeEventParams], None]: ...
@on_attribute.setter
def on_attribute(event_hook: Callable[[RADIUSAttributeEventParams], None]) -> None: ...

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 Python Edition - Version 20.0 [Build 8155]