# keystone.api.os_oauth1 module

class keystone.api.os_oauth1.AccessTokenResource

  Bases: `_OAuth1ResourceBase`

  methods: t.ClassVar[t.Collection[str] | None] = {'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()

class keystone.api.os_oauth1.AuthorizeResource

  Bases: `_OAuth1ResourceBase`

  methods: t.ClassVar[t.Collection[str] | None] = {'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)

class keystone.api.os_oauth1.ConsumerResource

  Bases: `ResourceBase`

  api_prefix: str = '/OS-OAUTH1'
  collection_key: str = 'consumers'
  delete(consumer_id)
  get(consumer_id=None)
  json_home_parameter_rel_func(*, extension_version='1.0', parameter_name)
  json_home_resource_rel_func(*, extension_version='1.0', resource_name)
  member_key: str = 'consumer'
  methods: t.ClassVar[t.Collection[str] | None] = {'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)
  post()

class keystone.api.os_oauth1.OSAuth1API(blueprint_url_prefix='', api_url_prefix='', default_mediatype='application/json', decorators=None, errors=None)

  Bases: `APIBase`

  resource_mapping = [(<class 'keystone.api.os_oauth1.RequestTokenResource'>, '/request_token', None, {}, ('https://docs.openstack.org/api/openstack-identity/3/ext/OS-OAUTH1/1.0/rel/request_tokens', 'stable', {})), (<class 'keystone.api.os_oauth1.AccessTokenResource'>, '/access_token', None, {}, ('https://docs.openstack.org/api/openstack-identity/3/ext/OS-OAUTH1/1.0/rel/access_tokens', 'stable', {})), (<class 'keystone.api.os_oauth1.AuthorizeResource'>, '/authorize/<string:request_token_id>', None, {}, ('https://docs.openstack.org/api/openstack-identity/3/ext/OS-OAUTH1/1.0/rel/authorize_request_token', 'stable', {'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

  Bases: `_OAuth1ResourceBase`

  methods: t.ClassVar[t.Collection[str] | None] = {'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()

this page last updated: 2026-06-11 21:52:50

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

found an error? report a bug