keystone.api.os_oauth1 module¶
- class keystone.api.os_oauth1.AccessTokenResource[source]¶
Bases:
keystone.api.os_oauth1._OAuth1ResourceBase
- methods: Optional[List[str]] = {'GET', 'POST'}¶
A list of methods this view can handle.
- class keystone.api.os_oauth1.AuthorizeResource[source]¶
Bases:
keystone.api.os_oauth1._OAuth1ResourceBase
- methods: Optional[List[str]] = {'GET', 'PUT'}¶
A list of methods this view can handle.
- class keystone.api.os_oauth1.ConsumerResource[source]¶
Bases:
keystone.server.flask.common.ResourceBase
- api_prefix = '/OS-OAUTH1'¶
- collection_key = 'consumers'¶
- json_home_parameter_rel_func(*, extension_version='1.0', parameter_name)¶
- json_home_resource_rel_func(*, extension_version='1.0', resource_name)¶
- member_key = 'consumer'¶
- methods: Optional[List[str]] = {'DELETE', 'GET', 'PATCH', 'POST'}¶
A list of methods this view can handle.
- class keystone.api.os_oauth1.OSAuth1API(blueprint_url_prefix='', api_url_prefix='', default_mediatype='application/json', decorators=None, errors=None)[source]¶
Bases:
keystone.server.flask.common.
- resource_mapping = [resource_map(resource=<class 'keystone.api.os_oauth1.RequestTokenResource'>, url='/request_token', alternate_urls=None, kwargs={}, json_home_data=json_home_data(rel='https://docs.openstack.org/api/openstack-identity/3/ext/OS-OAUTH1/1.0/rel/request_tokens', status='stable', path_vars={})), resource_map(resource=<class 'keystone.api.os_oauth1.AccessTokenResource'>, url='/access_token', alternate_urls=None, kwargs={}, json_home_data=json_home_data(rel='https://docs.openstack.org/api/openstack-identity/3/ext/OS-OAUTH1/1.0/rel/access_tokens', status='stable', path_vars={})), resource_map(resource=<class 'keystone.api.os_oauth1.AuthorizeResource'>, url='/authorize/<string:request_token_id>', alternate_urls=None, kwargs={}, json_home_data=json_home_data(rel='https://docs.openstack.org/api/openstack-identity/3/ext/OS-OAUTH1/1.0/rel/authorize_request_token', status='stable', path_vars={'request_token_id': 'https://docs.openstack.org/api/openstack-identity/3/ext/OS-OAUTH1/1.0/param/request_token_id'}))]¶
- resources = [<class 'keystone.api.os_oauth1.ConsumerResource'>]¶