keystone.identity.generator module

keystone.identity.generator module

ID Generator provider interface.

class keystone.identity.generator.IDGenerator[source]

Bases: object

Interface description for an ID Generator provider.

abstract generate_public_ID(mapping)[source]

Return a Public ID for the given mapping dict.

Parameters:

mapping (dict) – The items to be hashed.

The ID must be reproducible and no more than 64 chars in length. The ID generated should be independent of the order of the items in the mapping dict.

class keystone.identity.generator.Manager[source]

Bases: Manager

Default pivot point for the identifier generator backend.

driver_namespace = 'keystone.identity.id_generator'
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.