keystone.api.trusts module¶
- class keystone.api.trusts.RoleForTrustResource[source]¶
Bases:
flask_restful.Resource
- methods: t.ClassVar[t.Optional[t.Collection[str]]] = {'GET'}¶
The methods this view is registered for. Uses the same default (
["GET", "HEAD", "OPTIONS"]
) asroute
andadd_url_rule
by default.
- property oslo_context¶
- class keystone.api.trusts.RolesForTrustListResource[source]¶
Bases:
flask_restful.Resource
- methods: t.ClassVar[t.Optional[t.Collection[str]]] = {'GET'}¶
The methods this view is registered for. Uses the same default (
["GET", "HEAD", "OPTIONS"]
) asroute
andadd_url_rule
by default.
- property oslo_context¶
- class keystone.api.trusts.TrustAPI(blueprint_url_prefix='', api_url_prefix='', default_mediatype='application/json', decorators=None, errors=None)[source]¶
Bases:
keystone.server.flask.common.APIBase
- resource_mapping = [resource_map(resource=<class 'keystone.api.trusts.RolesForTrustListResource'>, url='/trusts/<string:trust_id>/roles', alternate_urls=None, kwargs={}, json_home_data=json_home_data(rel='https://docs.openstack.org/api/openstack-identity/3/ext/OS-TRUST/1.0/rel/trust_roles', status='stable', path_vars={'trust_id': 'https://docs.openstack.org/api/openstack-identity/3/ext/OS-TRUST/1.0/param/trust_id'})), resource_map(resource=<class 'keystone.api.trusts.RoleForTrustResource'>, url='/trusts/<string:trust_id>/roles/<string:role_id>', alternate_urls=None, kwargs={}, json_home_data=json_home_data(rel='https://docs.openstack.org/api/openstack-identity/3/ext/OS-TRUST/1.0/rel/trust_role', status='stable', path_vars={'trust_id': 'https://docs.openstack.org/api/openstack-identity/3/ext/OS-TRUST/1.0/param/trust_id', 'role_id': 'https://docs.openstack.org/api/openstack-identity/3/param/role_id'}))]¶
- resources = [<class 'keystone.api.trusts.TrustResource'>]¶
- class keystone.api.trusts.TrustResource[source]¶
Bases:
keystone.server.flask.common.ResourceBase
- api_prefix = '/OS-TRUST'¶
- collection_key = 'trusts'¶
- json_home_parameter_rel_func(*, extension_version='1.0', parameter_name)¶
- json_home_resource_rel_func(*, extension_version='1.0', resource_name)¶
- member_key = 'trust'¶
- methods: t.ClassVar[t.Optional[t.Collection[str]]] = {'DELETE', 'GET', 'POST'}¶
The methods this view is registered for. Uses the same default (
["GET", "HEAD", "OPTIONS"]
) asroute
andadd_url_rule
by default.