summaryrefslogtreecommitdiff
path: root/keystoneclient/exceptions.py
diff options
context:
space:
mode:
authorJamie Lennox <jamielennox@redhat.com>2013-12-09 16:46:09 +1000
committerJamie Lennox <jamielennox@redhat.com>2014-02-04 14:29:15 +1000
commit96267731ecef490769f00c1a88163d35487b6980 (patch)
tree2900903abfa51701aa38ed80d2e268e7de350cc4 /keystoneclient/exceptions.py
parent1263bd7c3a8ccded3cef7c799a2f8c744fb79aa2 (diff)
downloadpython-keystoneclient-96267731ecef490769f00c1a88163d35487b6980.tar.gz
Create Authentication Plugins
Provides the framework for creating authentication plugins and using them from a session object. To allow this system to co-exist with the original client there is a bit of a hack. The client object itself is now also an authentication plugin, that supports the original client pattern. If a client is created without a session object then that session object uses the client as it's authentication plugin. Change-Id: I682c8dcd3705148aaa804a91f4ed48a5b74bdc12 blueprint: auth-plugins
Diffstat (limited to 'keystoneclient/exceptions.py')
-rw-r--r--keystoneclient/exceptions.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/keystoneclient/exceptions.py b/keystoneclient/exceptions.py
index 5254c22..3c56b9a 100644
--- a/keystoneclient/exceptions.py
+++ b/keystoneclient/exceptions.py
@@ -49,3 +49,7 @@ class DiscoveryFailure(ClientException):
class VersionNotAvailable(DiscoveryFailure):
"""Discovery failed as the version you requested is not available."""
+
+
+class MissingAuthPlugin(ClientException):
+ """An authenticated request is required but no plugin available."""