Merge pull request #1321 from willingc/doc-services

Add autodoc of services and update services.auth for OAuth
This commit is contained in:
Min RK
2017-08-09 11:37:16 +02:00
committed by GitHub
13 changed files with 88 additions and 36 deletions

View File

@@ -1,12 +1,14 @@
"""Authenticating services with JupyterHub
"""Authenticating services with JupyterHub.
Cookies are sent to the Hub for verification, replying with a JSON model describing the authenticated user.
Cookies are sent to the Hub for verification. The Hub replies with a JSON
model describing the authenticated user.
HubAuth can be used in any application, even outside tornado.
``HubAuth`` can be used in any application, even outside tornado.
``HubAuthenticated`` is a mixin class for tornado handlers that should
authenticate with the Hub.
HubAuthenticated is a mixin class for tornado handlers that should authenticate with the Hub.
"""
import os
import re
import socket