doc
examples
functional
openstackclient
api
__init__.py
api.py
auth.py
auth_plugin.py
image_v1.py
image_v2.py
object_store_v1.py
utils.py
common
compute
identity
image
locale
network
object
tests
volume
__init__.py
i18n.py
shell.py
releasenotes
tools
.coveragerc
.gitignore
.gitreview
.mailmap
.testr.conf
CONTRIBUTING.rst
HACKING.rst
LICENSE
README.rst
babel.cfg
post_test_hook.sh
requirements.txt
setup.cfg
setup.py
test-requirements.txt
tox.ini

The functions check_valid_auth_options() function was relying on the name for checking the set of required options, but this could cause errors with external auth plugins. If somebody defines an auth plugin plugin named "footoken" the check function would check for a "token" option, even if the plugin has not defined that option. This change tries to improve this situation, cheking for some options only if they have been defined in the plugin. Change-Id: I4255f2e7d4d23449c95be957ea7b6b60983f2608