jupyterhub / ldapauthenticator

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

refactor: put validation logic in traitlets validation functions #250

Closed consideRatio closed 2 months ago

consideRatio commented 2 months ago

The authenticate method is large, so refactoring away some validation logic helps code readability and catches issues on startup or configuration changes instead of when users are to be authenticated.