Checks whether the user is authenticated. This is an internal endpoint queried by our NGINX proxy to check for the authentication state of the backend.
()
| 226 | @api_blueprint.route('/auth', methods=['GET']) |
| 227 | @required_auth(auth.Role.OPERATOR) |
| 228 | def auth_get(): |
| 229 | """Checks whether the user is authenticated. |
| 230 | |
| 231 | This is an internal endpoint queried by our NGINX proxy to check for the |
| 232 | authentication state of the backend. |
| 233 | """ |
| 234 | return json_response.success() |
| 235 | |
| 236 | |
| 237 | @api_blueprint.route('/auth', methods=['POST']) |
nothing calls this directly
no outgoing calls
no test coverage detected