keystone/doc/source/contributor
wangxiyuan 203787c37f Clean up token extra code
Originally, the "extra" in token data is generated by auth plugin
and then will be return to users within token data.

In Kilo, the "extra" in token data was deprecated[1], after that
if the auth plugin generate the "extra", a warning log will be
raised. To stop the warning, the auth plugins should stop
generating "extra" field.

After two releases, in Mitaka, the "extra" in token data was
removed[2], but the "extra" was still created by default as an
empty dict {}. Actually, "extra" should not be created any more
in Mitaka because Keystone has warned the auth plugins for two
releases.

Now in Rocky, it's safe enough to remove the "extra" from token
issue flow at all since it has never been used from Mitaka. The
only concern for the out tree plugins about the removal is that
if they still put "extra" into auth_context, Keystone will raise
KeyError. But can it be happened? Only if the out tree plugins
ignore the warning in Kilo, and still contain "extra" but never
use them from Mitaka. For most auth plugins which follow the
Keystone deprecation step, this patch is a silent change.

[1]: https://review.openstack.org/#/c/162662
[2]: https://review.openstack.org/#/c/249480

Change-Id: I828cc0ad3ac265abdfea2e1571806add128ae51e
2018-08-02 11:52:10 +08:00
..
api_change_tutorial.rst Add contributor/ directory for docs 2017-08-01 21:14:46 +00:00
architecture.rst Add contributor/ directory for docs 2017-08-01 21:14:46 +00:00
auth-plugins.rst Clean up token extra code 2018-08-02 11:52:10 +08:00
caching-layer.rst Add contributor/ directory for docs 2017-08-01 21:14:46 +00:00
database-migrations.rst Add contributor/ directory for docs 2017-08-01 21:14:46 +00:00
developing-drivers.rst Add contributor/ directory for docs 2017-08-01 21:14:46 +00:00
doctor-checks.rst Add contributor/ directory for docs 2017-08-01 21:14:46 +00:00
external-dev.rst Add conceptual overview of the service catalog 2018-04-24 20:26:39 +00:00
filtering-responsibilities.rst Add contributor/ directory for docs 2017-08-01 21:14:46 +00:00
how-can-i-help.rst Add new "How Can I Help?" contributor guide 2018-06-28 16:00:24 +02:00
http-api.rst Fix the outdated URL 2018-04-27 08:27:25 +00:00
id-manage.rst Add contributor/ directory for docs 2017-08-01 21:14:46 +00:00
index.rst Add new "How Can I Help?" contributor guide 2018-06-28 16:00:24 +02:00
list-truncation.rst Add contributor/ directory for docs 2017-08-01 21:14:46 +00:00
release-notes.rst Clarify documentation for release notes 2017-08-23 13:39:45 +00:00
service-catalog.rst Add conceptual overview of the service catalog 2018-04-24 20:26:39 +00:00
services.rst Remove references to v2.0 from external developer doc 2018-03-21 16:58:47 +00:00
set-up-keystone.rst Update pypi url to new url 2018-07-12 14:54:47 +07:00
testing-keystone.rst Clarifications to API & Scenario Tests 2018-07-09 14:58:20 +02:00
translated-responses.rst Add contributor/ directory for docs 2017-08-01 21:14:46 +00:00