summaryrefslogtreecommitdiff
path: root/openstackclient/tests
diff options
context:
space:
mode:
authorDean Troyer <dtroyer@gmail.com>2014-10-20 18:53:10 -0500
committerDean Troyer <dtroyer@gmail.com>2014-10-21 23:16:16 -0500
commite063246b97a7f31a47aca0a5eb36d571f5df7236 (patch)
tree1272ad2fe096430e7b4311cddac0242212fad7fe /openstackclient/tests
parentf600c0eafbf9aff23b6efa1c7b94797a25873b99 (diff)
downloadpython-openstackclient-e063246b97a7f31a47aca0a5eb36d571f5df7236.tar.gz
Clean up shell authentication
* Remove the auth option checks as the auth plugins will validate their own options * Move the initialization of client_manager to the end of initialize_app() so it is always called. Note that no attempts to actually authenticate occur until the first use of one of the client attributes in client_manager. This leaves initialize_clientmanager() (formerly uathenticate_user()) empty so remove it. * Remove interact() as the client_manager has already been created And there is nothing left. * prepare_to_run_command() is reduced to trigger an authentication attempt for the best_effort auth commands, currently the only one is 'complete'. * Add prompt_for_password() to ask the user to enter a password when necessary. Passed to ClientManager in a new kward pw_func. Bug: 1355838 Change-Id: I9fdec9144c4c84f65aed1cf91ce41fe1895089b2
Diffstat (limited to 'openstackclient/tests')
0 files changed, 0 insertions, 0 deletions