keystone.api.os_oauth1 module

class keystone.api.os_oauth1.AccessTokenResource[source]

Bases: keystone.api.os_oauth1._OAuth1ResourceBase

methods: ClassVar[Optional[Collection[str]]] = {'GET', 'POST'}

The methods this view is registered for. Uses the same default (["GET", "HEAD", "OPTIONS"]) as route and add_url_rule by default.

post()[source]
class keystone.api.os_oauth1.AuthorizeResource[source]

Bases: keystone.api.os_oauth1._OAuth1ResourceBase

methods: ClassVar[Optional[Collection[str]]] = {'GET', 'PUT'}

The methods this view is registered for. Uses the same default (["GET", "HEAD", "OPTIONS"]) as route and add_url_rule by default.

put(request_token_id)[source]
class keystone.api.os_oauth1.ConsumerResource[source]

Bases: keystone.server.flask.common.ResourceBase

api_prefix = '/OS-OAUTH1'
collection_key = 'consumers'
delete(consumer_id)[source]
get(consumer_id=None)[source]
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: ClassVar[Optional[Collection[str]]] = {'DELETE', 'GET', 'PATCH', 'POST'}

The methods this view is registered for. Uses the same default (["GET", "HEAD", "OPTIONS"]) as route and add_url_rule by default.

patch(consumer_id)[source]
post()[source]
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.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'>]
class keystone.api.os_oauth1.RequestTokenResource[source]

Bases: keystone.api.os_oauth1._OAuth1ResourceBase

methods: ClassVar[Optional[Collection[str]]] = {'GET', 'POST'}

The methods this view is registered for. Uses the same default (["GET", "HEAD", "OPTIONS"]) as route and add_url_rule by default.

post()[source]