Helper for description of Authentication requirements.
| 81 | |
| 82 | // Helper for description of Authentication requirements. |
| 83 | inline std::string AUTHENTICATION(bool required) |
| 84 | { |
| 85 | if (required) { |
| 86 | return "This endpoint requires authentication iff HTTP authentication is\n" |
| 87 | "enabled.\n"; |
| 88 | } |
| 89 | return "This endpoint does not require authentication.\n"; |
| 90 | } |
| 91 | |
| 92 | |
| 93 | // Helper for description of Authorization requirements. |
no outgoing calls
no test coverage detected