16 lines
510 B
Python
16 lines
510 B
Python
|
"""SAML-related constants"""
|
||
|
NS_SAML_PROTOCOL = "urn:oasis:names:tc:SAML:2.0:protocol"
|
||
|
NS_SAML_ASSERTION = "urn:oasis:names:tc:SAML:2.0:assertion"
|
||
|
NS_SIGNATURE = "http://www.w3.org/2000/09/xmldsig#"
|
||
|
|
||
|
REQ_KEY_REQUEST = "SAMLRequest"
|
||
|
REQ_KEY_SIGNATURE = "Signature"
|
||
|
|
||
|
SESSION_KEY = "passbook_saml_request"
|
||
|
|
||
|
SAML_ATTRIB_ACS_URL = "AssertionConsumerServiceURL"
|
||
|
SAML_ATTRIB_DESTINATION = "Destination"
|
||
|
SAML_ATTRIB_ID = "ID"
|
||
|
SAML_ATTRIB_ISSUE_INSTANT = "IssueInstant"
|
||
|
SAML_ATTRIB_PROTOCOL_BINDING = "ProtocolBinding"
|