commit 8da2c6d5cc33ee84d1e241c120c1e462016a7c1c
Author: SamriddhiJain <email address hidden>
Date: Sun Mar 26 23:49:06 2017 +0530
Updated scope parameter description in v3 API-ref
The description of scope parameter in the API docs is inconsistent for
scoped and explicit unscoped authorization. It doesn't explain clearly
when the parameter should be set to keyword 'unscoped' (explicit
unscoped authorization) and when to include ID/name of the project/
domain (scoped authorization). This patch covers the required update
for the scope parameter by introducing separate descriptions for the
above mentioned cases.
For explicit unscoped authorization, the keystone server specifies
scope value as 'unscoped' whereas in some old versions of keystoneauth
the value is {'unscoped': {}}. Added a comment to keystone/auth/schema.py
to make sure the type of scope parameter is object and not string, so
that it is consistent with older versions too.
In v3 API docs the case for token authentication with explicit unscoped
authorization is missing. Added documentation and request example for
that case.
Reviewed: https:/ /review. openstack. org/450038 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=8da2c6d5cc3 3ee84d1e241c120 c1e462016a7c1c
Committed: https:/
Submitter: Jenkins
Branch: master
commit 8da2c6d5cc33ee8 4d1e241c120c1e4 62016a7c1c
Author: SamriddhiJain <email address hidden>
Date: Sun Mar 26 23:49:06 2017 +0530
Updated scope parameter description in v3 API-ref
The description of scope parameter in the API docs is inconsistent for
scoped and explicit unscoped authorization. It doesn't explain clearly
when the parameter should be set to keyword 'unscoped' (explicit
unscoped authorization) and when to include ID/name of the project/
domain (scoped authorization). This patch covers the required update
for the scope parameter by introducing separate descriptions for the
above mentioned cases.
For explicit unscoped authorization, the keystone server specifies auth/schema. py
scope value as 'unscoped' whereas in some old versions of keystoneauth
the value is {'unscoped': {}}. Added a comment to keystone/
to make sure the type of scope parameter is object and not string, so
that it is consistent with older versions too.
In v3 API docs the case for token authentication with explicit unscoped
authorization is missing. Added documentation and request example for
that case.
Partial-Bug #1637682
Change-Id: I10d38e4cc59934 c421443322b14f4 f971acf3a29