keystone.revoke package¶
Subpackages¶
Submodules¶
keystone.revoke.controllers module¶
keystone.revoke.core module¶
Main entry point into the Revoke service.
-
class
keystone.revoke.core.Manager(*args, **kwargs)[source]¶ Bases:
keystone.common.manager.ManagerDefault pivot point for the Revoke backend.
Performs common logic for recording revocations.
See
keystone.common.manager.Managerfor more details on how this dynamically calls the backend.-
check_token(*args, **kwargs)[source]¶ Checks the values from a token against the revocation list
Parameters: token_values – dictionary of values from a token, normalized for differences between v2 and v3. The checked values are a subset of the attributes of model.TokenEvent Raises: keystone.exception.TokenNotFound – If the token is invalid.
-
driver_namespace= 'keystone.revoke'¶
-
-
class
keystone.revoke.core.RevokeDriverV8[source]¶ Bases:
objectInterface for recording and reporting revocation events.
-
list_events(last_fetch=None)[source]¶ return the revocation events, as a list of objects
Parameters: last_fetch – Time of last fetch. Return all events newer. Returns: A list of keystone.revoke.model.RevokeEvent newer than last_fetch. If no last_fetch is specified, returns all events for tokens issued after the expiration cutoff.
-