summaryrefslogtreecommitdiff
path: root/keystoneclient/auth/__init__.py
diff options
context:
space:
mode:
authorJamie Lennox <jamielennox@redhat.com>2015-02-17 16:19:19 +1100
committerJamie Lennox <jamielennox@redhat.com>2015-04-15 11:36:15 +1000
commitf5e2aab08b9ce71067fade4af576062e5fdb7032 (patch)
tree957b9e8ee45eb7ec4ab71b0402c5b3408715702f /keystoneclient/auth/__init__.py
parent96c038004fbd42b391926038ffd7429a7de12500 (diff)
downloadpython-keystoneclient-f5e2aab08b9ce71067fade4af576062e5fdb7032.tar.gz
Provide a means to get all installed plugins
Particular for use in writing error messages and help text it can be useful to get a list of all the plugins that are installed on the system. Provide a version that returns the classes as well so that you don't have to reload the modules if the user is picking one. Closes-Bug: #1423711 Change-Id: I021249eac8156c2d3ccbbacb7503184b6eb6e784
Diffstat (limited to 'keystoneclient/auth/__init__.py')
-rw-r--r--keystoneclient/auth/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/keystoneclient/auth/__init__.py b/keystoneclient/auth/__init__.py
index 463bcef..3b761c2 100644
--- a/keystoneclient/auth/__init__.py
+++ b/keystoneclient/auth/__init__.py
@@ -20,6 +20,8 @@ __all__ = [
# auth.base
'AUTH_INTERFACE',
'BaseAuthPlugin',
+ 'get_available_plugin_names',
+ 'get_available_plugin_classes',
'get_plugin_class',
'IDENTITY_AUTH_HEADER_NAME',
'PLUGIN_NAMESPACE',