diff options
| author | Jamie Lennox <jamielennox@redhat.com> | 2015-02-17 16:19:19 +1100 |
|---|---|---|
| committer | Jamie Lennox <jamielennox@redhat.com> | 2015-04-15 11:36:15 +1000 |
| commit | f5e2aab08b9ce71067fade4af576062e5fdb7032 (patch) | |
| tree | 957b9e8ee45eb7ec4ab71b0402c5b3408715702f /keystoneclient/auth/__init__.py | |
| parent | 96c038004fbd42b391926038ffd7429a7de12500 (diff) | |
| download | python-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__.py | 2 |
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', |
