Warning
This document is for an in-development version of Galaxy. You can alternatively view this page in the latest release if it exists or view the top of the latest release's documentation.
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: GalaxyWebTransaction, 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.
Subpackages
Submodules
galaxy.auth.util module
- class galaxy.auth.util.Authenticator(plugin, filter_template, options)
Bases:
tuple- filter_template
Alias for field number 1
- options
Alias for field number 2
- plugin
Alias for field number 0
- galaxy.auth.util.parse_auth_results(trans: ProvidesAppContext, auth_results, options)[source]