Added another way of getting authn information.
This commit is contained in:
@@ -186,6 +186,10 @@ class AuthnBroker(object):
|
||||
def __getitem__(self, ref):
|
||||
return self.db["info"][ref]
|
||||
|
||||
def get_authn_by_accr(self, accr):
|
||||
_ids = self.db["key"][accr]
|
||||
return self[_ids[0]]
|
||||
|
||||
|
||||
def authn_context_factory(text):
|
||||
# brute force
|
||||
|
Reference in New Issue
Block a user