| 1 | \syntax{lsauth} |
| 2 | |
| 3 | \begin{reqdesc} |
| 4 | Return the available methods of authentication. |
| 5 | \end{reqdesc} |
| 6 | |
| 7 | \revision{1} |
| 8 | \noperm |
| 9 | |
| 10 | \begin{responses} |
| 11 | \response{200 MECH} |
| 12 | One of these lines is returned for every supported authentication |
| 13 | mechanism. The \param{MECH} parameter is the name of one supported |
| 14 | authentication mechanism. |
| 15 | \response{201} |
| 16 | A 201 response indicates that the daemon supports no authentication |
| 17 | mechanism. Since it is impossible to do anything meaningfully |
| 18 | without authenticating, this should never happen, but it could still |
| 19 | happen e.g. in the case of a configuration error. |
| 20 | \end{responses} |