summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorJamie Lennox <jamielennox@redhat.com>2014-03-11 15:59:10 +1000
committerJamie Lennox <jamielennox@redhat.com>2014-07-07 14:15:10 +1000
commit5c91ede44768ebbb2fff12f9a7c93e63b9bbd56d (patch)
tree66943ba183ba7dfd770b26c6abe5ab30dca970ab /setup.cfg
parent3e88c35cd72190c2529c9ccaaf38961a33f30744 (diff)
downloadpython-keystoneclient-5c91ede44768ebbb2fff12f9a7c93e63b9bbd56d.tar.gz
Plugin loading from config objects
Provide a pattern for auth plugins to load themselves from a config object. The first user of this will be auth_token middleware however it is not likely to be the only user. By doing this in an exportable way we are defining a single config file format for specifying how to load a plugin for all services. We also provide a standard way of retrieving a plugins options for loading via other mechanisms. Blueprint: standard-client-params Change-Id: I353b26a1ffc04a20666e76f5bd2f1e6d7c19a22d
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg6
1 files changed, 6 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index ee649b8..3e55932 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -31,6 +31,12 @@ setup-hooks =
console_scripts =
keystone = keystoneclient.shell:main
+keystoneclient.auth.plugin =
+ v2password = keystoneclient.auth.identity.v2:Password
+ v2token = keystoneclient.auth.identity.v2:Token
+ v3password = keystoneclient.auth.identity.v3:Password
+ v3token = keystoneclient.auth.identity.v3:Token
+
[build_sphinx]
source-dir = doc/source
build-dir = doc/build