keystone.api.os_oauth1 module¶
- class keystone.api.os_oauth1.AccessTokenResource[source]¶
Bases:
_OAuth1ResourceBase
- methods: t.ClassVar[t.Optional[t.Collection[str]]] = {'GET', 'POST'}¶
The methods this view is registered for. Uses the same default (
["GET", "HEAD", "OPTIONS"]
) asroute
andadd_url_rule
by default.
- class keystone.api.os_oauth1.AuthorizeResource[source]¶
Bases:
_OAuth1ResourceBase
- methods: t.ClassVar[t.Optional[t.Collection[str]]] = {'GET', 'PUT'}¶
The methods this view is registered for. Uses the same default (
["GET", "HEAD", "OPTIONS"]
) asroute
andadd_url_rule
by default.
- class keystone.api.os_oauth1.ConsumerResource[source]¶
Bases:
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: t.ClassVar[t.Optional[t.Collection[str]]] = {'DELETE', 'GET', 'PATCH', 'POST'}¶
The methods this view is registered for. Uses the same default (
["GET", "HEAD", "OPTIONS"]
) asroute
andadd_url_rule
by default.
- class keystone.api.os_oauth1.OSAuth1API(blueprint_url_prefix='', api_url_prefix='', default_mediatype='application/json', decorators=None, errors=None)[source]¶
Bases:
APIBase
- 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'>]¶