Revision c9c0c92c
Added by Serghei Mihai over 9 years ago
uauth/adapters.py | ||
---|---|---|
6 | 6 |
class UAuthAdapter(DefaultAdapter): |
7 | 7 |
def get_idps(self): |
8 | 8 |
return get_idp_list() |
9 |
|
|
10 |
def get_idp(self, entity_id): |
|
11 |
for idp in self.get_idps(): |
|
12 |
if idp['ENTITY_ID'] == entity_id: |
|
13 |
return idp |
Also available in: Unified diff
adapter returning entity matching idp