Many thanks, Min.

My authenticator uses a customized handle that processes the query 
parameters received from the http request. 
Can the authenticator have access to this handle reference?
 
By the way, I implemented a solution using user.auth_state and it works. 

-- Julia

Em sexta-feira, 18 de agosto de 2017 03:13:01 UTC-3, Min RK escreveu:
>
> Authenticator.pre_spawn_start 
> <http://jupyterhub.readthedocs.io/en/0.7.2/api/auth.html?highlight=pre_spawn_start#jupyterhub.auth.Authenticator.pre_spawn_start>
>  
> might be what you are after. It’s called prior to each Spawner starting.
>
> def pre_spawn_start(self, spawner):
>     user = spawner.user
>     volumes = self.volumes_for_user(user.name)
>     spawner.volumes.update(volumes)
>
> -Min
> ​
>
> On Thu, Aug 17, 2017 at 7:06 PM, Maria Julia Lima <[email protected] 
> <javascript:>> wrote:
>
>> Hello
>>
>> I am a beginner in Jupyterhub and I am investigating an integration of a 
>> web application to Jupyterhub. This application has its on file repository 
>> and each user has access to its on path. I have implemented an 
>> Authenticator that receives a query parameter with the user's path and I 
>> would like to transfer this path to the DockerSpawner in order to be used 
>> as the volume parameter for the container. 
>>
>> If someone could give me a suggestion that would be great.
>>
>> Thanks in advance.
>> Julia
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Project Jupyter" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jupyter/fb80b68e-0c78-4621-8c05-2efceb9d697b%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jupyter/fb80b68e-0c78-4621-8c05-2efceb9d697b%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/b89cdb23-0b87-44f8-8916-f67907150467%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to