keystone.revoke package

Submodules

keystone.revoke.controllers module

class keystone.revoke.controllers.RevokeController(*args, **kwargs)[source]

Bases: keystone.common.controller.V3Controller

list_revoke_events(request, *args, **kwargs)[source]

keystone.revoke.core module

Main entry point into the Revoke service.

class keystone.revoke.core.Manager(*args, **kwargs)[source]

Bases: keystone.common.manager.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(*args, **kwargs)[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(*args, **kwargs)[source]
revoke(*args, **kwargs)[source]
revoke_by_audit_chain_id(*args, **kwargs)[source]
revoke_by_audit_id(*args, **kwargs)[source]
revoke_by_domain_role_assignment(*args, **kwargs)[source]
revoke_by_grant(*args, **kwargs)[source]
revoke_by_project_role_assignment(*args, **kwargs)[source]
revoke_by_user(*args, **kwargs)[source]
revoke_by_user_and_project(*args, **kwargs)[source]

keystone.revoke.model module

keystone.revoke.routers module

class keystone.revoke.routers.Routers[source]

Bases: keystone.common.wsgi.RoutersBase

PATH_PREFIX = '/OS-REVOKE'
append_v3_routers(mapper, routers)[source]

Module contents