The watcher.common.context Module

The watcher.common.context Module

class watcher.common.context.RequestContext(user_id=None, project_id=None, is_admin=None, roles=None, timestamp=None, request_id=None, auth_token=None, overwrite=True, user_name=None, project_name=None, domain_name=None, domain_id=None, auth_token_info=None, **kwargs)[source]

Bases: oslo_context.context.RequestContext

Extends security contexts from the OpenStack common library.

classmethod from_dict(values)[source]

Construct a context object from a provided dictionary.

to_dict()[source]

Return a dictionary of context attributes.

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.