keystone.revoke.core module

keystone.revoke.core module

Main entry point into the Revoke service.

class keystone.revoke.core.Manager[source]

Bases: Manager

Default pivot point for the Revoke backend.

Performs common logic for recording revocations.

See keystone.common.manager.Manager for more details on how this dynamically calls the backend.

check_token(token)[source]

Check the values from a token against the revocation list.

Parameters:

token – 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'
list_events(last_fetch=None)[source]
revoke(event)[source]
revoke_by_audit_chain_id(audit_chain_id, project_id=None, domain_id=None)[source]
revoke_by_audit_id(audit_id)[source]
revoke_by_user(user_id)[source]
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.