keystone/keystone/auth/plugins
Morgan Fainberg 81f9fe6fed Remove Dependency Injection
Refactors all of keystone's dependency injection to maintain a
single centralized repository of instantiated objects. This
means that we are no longer having to resolve order. All
objects that need to reference the various manager APIs simply
do so via the __getattr__ built into the Manager common object
or the ProviderAPIMixin object.

This is also the first step towards correcting our tests to
where they cannot run "load_backends" multiple times.

This forces any/all managers to properly run super()
as the way to register the api is via __init__.

This eliminates all use of the @dependency.requires and
@dependency.provides decorators, simplifying the objects
all around.

Any instantiations of a Manager after keystone is running
will now generate an error, ensuring everything for keystone
is running before handling requests. An exception is for
CLI and CLI tests, as the CLI may directly instantiate
managers and will not lock the registry.

Change-Id: I4ba17855efd797c0db9f4824936b49e4bff54b6a
2017-12-13 10:59:39 -08:00
..
__init__.py Move UserAuthInfo to a separate file 2015-02-27 15:15:18 +00:00
base.py Remove Dependency Injection 2017-12-13 10:59:39 -08:00
core.py Remove Dependency Injection 2017-12-13 10:59:39 -08:00
external.py Remove Dependency Injection 2017-12-13 10:59:39 -08:00
mapped.py Remove Dependency Injection 2017-12-13 10:59:39 -08:00
oauth1.py Remove Dependency Injection 2017-12-13 10:59:39 -08:00
password.py Remove Dependency Injection 2017-12-13 10:59:39 -08:00
token.py Remove Dependency Injection 2017-12-13 10:59:39 -08:00
totp.py Remove Dependency Injection 2017-12-13 10:59:39 -08:00