This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2020-06-24 20:27:14 +00:00
|
|
|
"""SAML Source processor constants"""
|
2020-07-10 23:02:55 +00:00
|
|
|
NS_SAML_PROTOCOL = "urn:oasis:names:tc:SAML:2.0:protocol"
|
|
|
|
NS_SAML_ASSERTION = "urn:oasis:names:tc:SAML:2.0:assertion"
|
|
|
|
NS_SAML_METADATA = "urn:oasis:names:tc:SAML:2.0:metadata"
|
|
|
|
NS_SIGNATURE = "http://www.w3.org/2000/09/xmldsig#"
|
|
|
|
|
|
|
|
NS_MAP = {
|
|
|
|
"samlp": NS_SAML_PROTOCOL,
|
|
|
|
"saml": NS_SAML_ASSERTION,
|
|
|
|
"ds": NS_SIGNATURE,
|
|
|
|
"md": NS_SAML_METADATA,
|
|
|
|
}
|
|
|
|
|
2020-06-24 20:27:14 +00:00
|
|
|
SAML_NAME_ID_FORMAT_EMAIL = "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress"
|
|
|
|
SAML_NAME_ID_FORMAT_PRESISTENT = "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"
|
|
|
|
SAML_NAME_ID_FORMAT_X509 = "urn:oasis:names:tc:SAML:2.0:nameid-format:X509SubjectName"
|
|
|
|
SAML_NAME_ID_FORMAT_WINDOWS = (
|
|
|
|
"urn:oasis:names:tc:SAML:2.0:nameid-format:WindowsDomainQualifiedName"
|
|
|
|
)
|
|
|
|
SAML_NAME_ID_FORMAT_TRANSIENT = "urn:oasis:names:tc:SAML:2.0:nameid-format:transient"
|
2020-07-10 23:02:55 +00:00
|
|
|
|
|
|
|
SAML_BINDING_POST = "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"
|
|
|
|
SAML_BINDING_REDIRECT = "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect"
|