keystone.api.os_oauth2 module¶
- class keystone.api.os_oauth2.AccessTokenResource[source]¶
Bases:
ResourceBase
- methods: t.ClassVar[t.Collection[str] | None] = {'DELETE', 'GET', 'HEAD', 'PATCH', 'POST', '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_oauth2.OSAuth2API(blueprint_url_prefix='', api_url_prefix='', default_mediatype='application/json', decorators=None, errors=None)[source]¶
Bases:
APIBase
- resource_mapping = [(<class 'keystone.api.os_oauth2.AccessTokenResource'>, '/token', None, {}, ('https://docs.openstack.org/api/openstack-identity/3/ext/OS-OAUTH2/1.0/rel/token', 'stable', {}))]¶