37f59f4b0b
AuthContextMiddleware and the fall-through in the controller base _build_policy_check_credentials now utilizes the KeystoneToken model and uses token_provider_api instead of token_api. In support of this change, the token auth plugin, the auth_context builder, token bind check, and token controller have all been updated to utilize the KeystoneToken model. Support for the federation data has been added to the KeystoneToken model so that it can be used in the auth context and associated code. Associated tests that passed a raw token_ref to methods that now expect the KeystoneToken model have been updated. This includes an update to the revocation model to guard against users without domain data (the federated user case). Change-Id: I81da15137a0ab3778d835c8de1ec8ed9e5b301f6 bp: non-persistent-tokens |
||
---|---|---|
.. | ||
plugins | ||
__init__.py | ||
controllers.py | ||
core.py | ||
routers.py |