jupyterhub / ldapauthenticator

LDAP Authenticator Plugin for Jupyter
BSD 3-Clause "New" or "Revised" License
206 stars 178 forks source link

Add new feature: refresh_user #218

Open Litzuck opened 1 year ago

Litzuck commented 1 year ago

Implements the method refresh_user of the superclass Authenticator. It periodically checks if a user is still in one of the allowed groups. If a user is no longer a member of any of those groups, their session token is invalidated.

The feature can be enabled using the option enable_refresh, and only checks users if allowed groups are set.

welcome[bot] commented 1 year ago

Thanks for submitting your first pull request! You are awesome! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please make sure you followed the pull request template, as this will help us review your contribution more quickly. welcome You can meet the other Jovyans by joining our Discourse forum. There is also a intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada: