Move token_formatter to token

This change moves the token_formatter under fernet to be located
under the token directory. This is to allow for the functionality
of token_formatter to be easily used with other token providers.

Change-Id: I3a1ee30f69c33c9dd98c7e39e552b7908cc836e1
This commit is contained in:
Gage Hugo 2017-12-12 16:57:59 -06:00
parent ee8be3c052
commit de1007a14c
4 changed files with 10 additions and 2 deletions

View File

@ -31,7 +31,7 @@ from keystone.tests.unit import ksfixtures
from keystone.tests.unit.ksfixtures import database
from keystone.token.providers import common
from keystone.token.providers import fernet
from keystone.token.providers.fernet import token_formatters
from keystone.token import token_formatters
CONF = keystone.conf.CONF

View File

@ -18,7 +18,7 @@ import keystone.conf
from keystone.federation import constants as federation_constants
from keystone.i18n import _
from keystone.token.providers import common
from keystone.token.providers.fernet import token_formatters as tf
from keystone.token import token_formatters as tf
CONF = keystone.conf.CONF

View File

@ -0,0 +1,8 @@
---
features:
- |
The token_formatter utility class has been moved from under fernet
to the default token directory. This is to allow for the reuse of
functionality with other token providers. Any deployments that are
specifically using the fernet utils may be affected and will need
to adjust accordingly.