keystone/keystone/identity
Lance Bragstad c7658abfd6 Simplify token persistence callbacks
The INVALIDATE_USER_TOKEN_PERSISTENCE and
INVALIDATE_USER_PROJECT_TOKEN_PERSISTENCE callbacks were meant to
clean up invalid tokens from the token storage layer. Now that the
sql token driver has been removed, we don't need them any more. This
commit removes those notifications and refactors the places where
notifications are still needed, making them more specific and not
eluding to token persistence.

This commit also removes a significant amount of logic from the
assignment API that used to notify the token API when assignments
were deleted. This made sense when tokens were written to disk
because there was an opportunity to invalidate them when users were
removed from projects. This is no longer needed since we do
validation online and we don't persist tokens anymore.

Change-Id: I100b7416e8ba61eb4ea2c2eb4962e952a53ea388
2018-02-16 21:40:07 +00:00
..
backends Remove rolling_upgrade_password_hash_compat 2017-12-18 09:20:53 +08:00
id_generators Replace six iteration methods with standard ones 2016-09-08 18:56:31 +08:00
mapping_backends Remove Dependency Injection 2017-12-13 10:59:39 -08:00
shadow_backends Fix list users by name 2018-02-03 15:50:29 +08:00
__init__.py Remove exposure of routers at package level 2015-12-03 15:06:56 -03:00
controllers.py Use keystone.common.provider_api for identity APIs 2017-12-27 18:44:06 +00:00
core.py Simplify token persistence callbacks 2018-02-16 21:40:07 +00:00
generator.py Remove Dependency Injection 2017-12-13 10:59:39 -08:00
routers.py Remove v2.0 identity APIs 2017-09-29 20:42:12 +00:00
schema.py Remove v2 schema and validation tests 2017-10-19 17:20:47 -05:00