|
#!/usr/bin/env python3
|
|
|
|
import xml.dom.minidom
|
|
from functools import singledispatch
|
|
|
|
@singledispatch
|
|
def parse_saml_attr(token):
|
|
'''
|
|
Takes a string or xml literal as input and returns the saml attributes
|
|
as a dictionary claim_name:value.
|
|
'''
|
|
return None
|