Debian Codegraph @

doc/antora/modules/unlang/pages/module_method.adoc

raw
1 = Module methods
2
3 .Syntax
4 [source,unlang]
5 ----
6 <module>.<method>
7 ----
8
9 This variant of xref:module.adoc[<module>] is used in one processing
10 section. It calls a module using the method of another processing
11 section. For example, it can be used to call a module's `authorize`
12 method while processing the `post-auth` section.
13
14 The `<module>` portion must refer to an existing module; the
15 `<method>` portion must refer to processing method supported by that
16 module. Typically, the names of the processing method will be the
17 same as the processing sections.
18
19 .Example
20 [source,unlang]
21 ----
22 sql.recv.Accounting-Request
23 files.recv.Access-Request
24 ----
25
26 // Copyright (C) 2020 Network RADIUS SAS. Licenced under CC-by-NC 4.0.
27 // Development of this documentation was sponsored by Network RADIUS SAS.