galaxy.auth package
Contains implementations of the authentication logic.
- class galaxy.auth.AuthManager(config)[source]
Bases:
object
- check_registration_allowed(email, username, password, request)[source]
Checks if the provided email/username is allowed to register.
- check_auto_registration(trans, login, password, no_password_check=False)[source]
Checks the username/email & password using auth providers in order. If a match is found, returns the ‘auto-register’ option for that provider.
- check_password(user, password, request)[source]
Checks the username/email and password using auth providers.