keystone.token.provider module

keystone.token.provider module

Token provider interface.

class keystone.token.provider.Manager[source]

Bases: keystone.common.manager.Manager

Default pivot point for the token provider backend.

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

V3 = 'v3.0'
VERSIONS = frozenset(['v3.0'])
check_revocation(**kwargs)[source]
check_revocation_v3(**kwargs)[source]
driver_namespace = 'keystone.token.provider'
invalidate_individual_token_cache(**kwargs)[source]
issue_token(**kwargs)[source]
revoke_token(**kwargs)[source]
validate_token(**kwargs)[source]
keystone.token.provider.default_expire_time()[source]

Determine when a fresh token should expire.

Expiration time varies based on configuration (see [token] expiration).

Returns:a naive UTC datetime.datetime object
keystone.token.provider.random_urlsafe_str()[source]

Generate a random URL-safe string.

Return type:six.text_type
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.