keystone/keystone/server/flask
Lance Bragstad 86cf26310a Only validate tokens once per request
Keystone actually validates each token twice for every API request.
Regardless of caching being configured, we have an opportunity to try
and spend less time doing something we've already done.

The first the token is validated is actually done through a
keystonemiddleware hook. The second time is to populate a context
object that we can use for things like policy decisions.

Closes-Bug: 1819036
Change-Id: Ifd7f6f0a1dcd33ad17646cae383132cfc2462f03
(cherry picked from commit 112fa29a74)
2019-03-25 17:41:34 +00:00
..
request_processing Only validate tokens once per request 2019-03-25 17:41:34 +00:00
__init__.py Convert auth to flask native dispatching 2018-10-09 23:23:03 -07:00
application.py Merge "Unregister "Exception" from flask handler" 2018-11-06 21:23:08 +00:00
common.py Add missing ws seperator between words 2018-11-19 14:36:40 +08:00
core.py Remove i18n.enable_lazy() translation 2018-12-14 10:30:17 +00:00