summaryrefslogtreecommitdiff
path: root/openstackclient/common/clientmanager.py
diff options
context:
space:
mode:
authorAlvaro Lopez Garcia <aloga@ifca.unican.es>2016-05-18 17:55:19 +0200
committerAlvaro Lopez Garcia <aloga@ifca.unican.es>2016-06-21 08:54:36 +0200
commit78ae57112c846b3a230a928fe5fc3d8ee909dc15 (patch)
tree29d291991124bc76f0e60d423f5d16efd3812737 /openstackclient/common/clientmanager.py
parent7cda2b2a066cd45c7aeb9a6d92c1a83e49d48128 (diff)
downloadpython-openstackclient-78ae57112c846b3a230a928fe5fc3d8ee909dc15.tar.gz
Refactor check_valid_auth_options function
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
Diffstat (limited to 'openstackclient/common/clientmanager.py')
0 files changed, 0 insertions, 0 deletions