keystone.api.os_oauth2 module

class keystone.api.os_oauth2.AccessTokenResource[source]

Bases: keystone.server.flask.common.ResourceBase

delete()[source]

The method is not allowed.

get()[source]

The method is not allowed.

head()[source]

The method is not allowed.

methods: t.ClassVar[t.Optional[t.Collection[str]]] = {'DELETE', 'GET', 'HEAD', 'PATCH', 'POST', 'PUT'}

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

patch()[source]

The method is not allowed.

post()[source]

Get an OAuth2.0 Access Token.

POST /v3/OS-OAUTH2/token

put()[source]

The method is not allowed.

class keystone.api.os_oauth2.OSAuth2API(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_oauth2.AccessTokenResource'>, url='/token', alternate_urls=None, kwargs={}, json_home_data=json_home_data(rel='https://docs.openstack.org/api/openstack-identity/3/ext/OS-OAUTH2/1.0/rel/token', status='stable', path_vars={}))]