Skip to content

Commit

Permalink
Add note on the authenticated decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollonval authored May 5, 2020
1 parent dd2214d commit 48feaee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/source/developers/extensions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ The easiest way to add endpoints and handle incoming requests is to subclass the
def post(self):
...
.. note::
It is best practice to wrap each handler method with the ``authenticated`` decorator to ensure that each request is authenticated by the server.

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

Expand Down

0 comments on commit 48feaee

Please sign in to comment.