Merge "Correct comment to not be driver-specific"
This commit is contained in:
commit
c4bd6bfe70
@ -232,10 +232,8 @@ class Manager(manager.Manager):
|
|||||||
def validate_v3_token(self, token_id):
|
def validate_v3_token(self, token_id):
|
||||||
unique_id = utils.generate_unique_id(token_id)
|
unique_id = utils.generate_unique_id(token_id)
|
||||||
# NOTE(lbragstad): Only go to persistent storage if we have a token to
|
# NOTE(lbragstad): Only go to persistent storage if we have a token to
|
||||||
# fetch from the backend. If the Fernet token provider is being used
|
# fetch from the backend (the driver persists the token). Otherwise
|
||||||
# this step isn't necessary. The Fernet token reference is persisted in
|
# the information about the token must be in the token id.
|
||||||
# the token_id, so in this case set the token_ref as the identifier of
|
|
||||||
# the token.
|
|
||||||
if not self._needs_persistence:
|
if not self._needs_persistence:
|
||||||
token_ref = token_id
|
token_ref = token_id
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user