Formatting
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 13 Apr 2015 03:32:11 +0000 (23:32 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 13 Apr 2015 03:32:19 +0000 (23:32 -0400)
raddb/mods-available/rest

index 0e87796..a79262d 100644 (file)
@@ -126,6 +126,8 @@ rest {
        #  except in the case of a 401 code.
        #
 
+       #  Authorize/Authenticate
+       #
        #  Code   Meaning       Process body  Module code
        #  404    not found     no            notfound
        #  410    gone          no            notfound
@@ -140,13 +142,14 @@ rest {
                method = 'get'
                tls = ${..tls}
        }
-       #  Same as authorize
        authenticate {
                uri = "${..connect_uri}/user/%{User-Name}/mac/%{Called-Station-ID}?action=authenticate"
                method = 'get'
                tls = ${..tls}
        }
 
+       #  Accounting/Post-auth
+       #
        #  Code   Meaning       Process body  Module code
        #  204    no content    no            ok
        #  2xx    successful    yes           ok/updated
@@ -157,12 +160,6 @@ rest {
                method = 'post'
                tls = ${..tls}
        }
-
-       #  Code   Meaning       Process body  Module code
-       #  204    no content    no            ok
-       #  2xx    successful    yes           ok/updated
-       #  5xx    server error  no            fail
-       #  xxx    -             no            invalid
        post-auth {
                uri = "${..connect_uri}/user/%{User-Name}/mac/%{Called-Station-ID}?action=post-auth"
                method = 'post'