Skip to content

Commit 25db52a

Browse files
authored
Add note on the authenticated decorator
1 parent 1c0895d commit 25db52a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/source/developers/extensions.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ The easiest way to add endpoints and handle incoming requests is to subclass the
3939
def post(self):
4040
...
4141
42+
.. note::
43+
It is best practice to wrap each handler method with the ``authenticated`` decorator to ensure that each request is authenticated by the server.
4244

4345
Then add this handler to Jupyter Server's Web Application through the ``_load_jupyter_server_extension`` function.
4446

0 commit comments

Comments
 (0)