heat.common.context.
ContextMiddleware
(app, conf, **local_conf)[source]¶Bases: heat.common.wsgi.Middleware
heat.common.context.
ContextMiddleware_filter_factory
(global_conf, **local_conf)[source]¶Factory method for paste.deploy.
heat.common.context.
RequestContext
(username=None, password=None, aws_creds=None, auth_url=None, roles=None, is_admin=None, read_only=False, show_deleted=False, overwrite=True, trust_id=None, trustor_user_id=None, request_id=None, auth_token_info=None, region_name=None, auth_plugin=None, trusts_auth_plugin=None, user_domain_id=None, project_domain_id=None, project_name=None, **kwargs)[source]¶Bases: oslo_context.context.RequestContext
Stores information about the security context.
Under the security context the user accesses the system, as well as additional request information.
auth_plugin
¶clients
¶keystone_session
¶keystone_v3_endpoint
¶session
¶tenant_id
¶to_policy_values
()[source]¶A dictionary of context attributes to enforce policy with.
oslo.policy enforcement requires a dictionary of attributes representing the current logged in user on which it applies policy enforcement. This dictionary defines a standard list of attributes that should be available for enforcement across services.
It is expected that services will often have to override this method with either deprecated values or additional attributes used by that service specific policy.
trusts_auth_plugin
¶user_id
¶heat.common.context.
StoredContext
(username=None, password=None, aws_creds=None, auth_url=None, roles=None, is_admin=None, read_only=False, show_deleted=False, overwrite=True, trust_id=None, trustor_user_id=None, request_id=None, auth_token_info=None, region_name=None, auth_plugin=None, trusts_auth_plugin=None, user_domain_id=None, project_domain_id=None, project_name=None, **kwargs)[source]¶Bases: heat.common.context.RequestContext
project_domain
¶roles
¶user_domain
¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.