Metadata-Version: 1.1
Name: jupyterhub-oauth-spawner
Version: 0.0.6.1
Summary: Spawner for jupyterhub with oauth authentication.
Home-page: https://github.com/globocom/jupyterhub_oauth_spawner
Author: Globo.com
Author-email: diogo.munaro@corp.globo.com
License: UNKNOWN
Description: JupyterHub OAuth Spawner
        ************************
        
        Spawner for OAuth authentication users. This Spawner uses same Jupyterhub user for OS operations, but you can control OAuth Users.
        
        Install
        =======
        
        ::
        
            pip install jupyterhub_oauth_spawner
        
        
        In your jupyterhub config file:
        
        ::
        
            from jupyterhub_oauth_spawner.oauth_spawner import OAuthSpawner
        
            c.JupyterHub.spawner_class = OAuthSpawner
        
            c.OAuthSpawner.pre_start_hook = your_function
            c.OAuthSpawner.pre_stop_hook = your_function
            c.OAuthSpawner.post_start_hook = your_function
            c.OAuthSpawner.post_stop_hook = your_function
        
        
        **your_function** should expect an **user_object** with attributes **name** for user login and **hook_name** with hook called.
        
        So in your function:
        
        
        ::
        
            your_function(user, hook_name):
                send_info(user.name, hook_name)
        
Keywords: Interactive,Interpreter,Shell,Web,Customization,JupyterHub
Platform: Linux
Platform: Mac OS X
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: Intended Audience :: Science/Research
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
