keystone/keystone/tests/unit/token
Lance Bragstad 3dbf4be06f Cleanup keystone.token.providers.common
This module was a hodge-podge of common utility methods and a basic
implementation of the token provider API interface. In theory, if
something should be done for all providers, we should try and pull
it into a higher layer, like the token provider Manager. This makes
things easier to share without having to worry about reimplementing
something if we override a specific method of the interface. This is
the pattern we're working towards with the TokenModel object.

It was also home to the V3TokenDataHelper, which was ultimately
responsible for making sure the token API contracts were honored. Now
that we've moved token behavior into the TokenModel and the
representation of a token into the controllers, we don't need this
anymore. We should be able to make this much more clear and clean up
the interfaces for people providing their own token providers.

Partial-Bug: 1778945
Change-Id: I6f069c8c94e625ae553e9b41f0c54fd25bad9408
2018-07-13 14:49:07 +00:00
..
__init__.py Move token persistence classes to token.persistence module 2014-07-24 16:03:50 -07:00
test_fernet_provider.py Cleanup keystone.token.providers.common 2018-07-13 14:49:07 +00:00
test_token_model.py Cleanup keystone.token.providers.common 2018-07-13 14:49:07 +00:00
test_token_serialization.py Add serialization for TokenModel object 2018-07-13 14:27:34 +00:00