MCPcopy Create free account
hub / github.com/tiny-pilot/tinypilot / no_auth_required

Function no_auth_required

app/api.py:71–77  ·  view source on GitHub ↗

Decorator to exempt an endpoint from any auth check altogether. The endpoint will be publicly accessible by anyone, regardless of the system’s current authentication requirements.

()

Source from the content-addressed store, hash-verified

69
70
71def no_auth_required():
72 """Decorator to exempt an endpoint from any auth check altogether.
73
74 The endpoint will be publicly accessible by anyone, regardless of the
75 system’s current authentication requirements.
76 """
77 return _required_auth_level_decorator(None)
78
79
80@api_blueprint.before_request

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected