keystone.common.context module

keystone.common.context module

class keystone.common.context.RequestContext(**kwargs)[source]

Bases: oslo_context.context.RequestContext

classmethod from_environ(environ, **kwargs)[source]

Load a context object from a request environment.

If keyword arguments are provided then they override the values in the request environment.

Parameters:environ (dict) – The environment dictionary associated with a request.
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.