authentik.enterprise.providers.ws_federation.processors.constants
1from authentik.common.saml.constants import NS_MAP as _map 2 3WS_FED_ACTION_SIGN_IN = "wsignin1.0" 4WS_FED_ACTION_SIGN_OUT = "wsignout1.0" 5WS_FED_ACTION_SIGN_OUT_CLEANUP = "wsignoutcleanup1.0" 6 7WS_FED_POST_KEY_ACTION = "wa" 8WS_FED_POST_KEY_RESULT = "wresult" 9WS_FED_POST_KEY_CONTEXT = "wctx" 10 11WSS_TOKEN_TYPE_SAML2 = ( 12 "http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV2.0" # nosec 13) 14WSS_KEY_IDENTIFIER_SAML_ID = ( 15 "http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLID" 16) 17 18NS_WS_FED_PROTOCOL = "http://docs.oasis-open.org/wsfed/federation/200706" 19NS_WS_FED_TRUST = "http://schemas.xmlsoap.org/ws/2005/02/trust" 20NS_WSI = "http://www.w3.org/2001/XMLSchema-instance" 21NS_ADDRESSING = "http://www.w3.org/2005/08/addressing" 22NS_POLICY = "http://schemas.xmlsoap.org/ws/2004/09/policy" 23NS_WSS_SEC = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" 24NS_WSS_UTILITY = ( 25 "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" 26) 27NS_WSS_D3P1 = "http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd" 28 29NS_MAP = { 30 **_map, 31 "fed": NS_WS_FED_PROTOCOL, 32 "xsi": NS_WSI, 33 "wsa": NS_ADDRESSING, 34 "t": NS_WS_FED_TRUST, 35 "wsu": NS_WSS_UTILITY, 36 "wsp": NS_POLICY, 37 "wssec": NS_WSS_SEC, 38 "d3p1": NS_WSS_D3P1, 39}
WS_FED_ACTION_SIGN_IN =
'wsignin1.0'
WS_FED_ACTION_SIGN_OUT =
'wsignout1.0'
WS_FED_ACTION_SIGN_OUT_CLEANUP =
'wsignoutcleanup1.0'
WS_FED_POST_KEY_ACTION =
'wa'
WS_FED_POST_KEY_RESULT =
'wresult'
WS_FED_POST_KEY_CONTEXT =
'wctx'
WSS_TOKEN_TYPE_SAML2 =
'http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV2.0'
WSS_KEY_IDENTIFIER_SAML_ID =
'http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLID'
NS_WS_FED_PROTOCOL =
'http://docs.oasis-open.org/wsfed/federation/200706'
NS_WS_FED_TRUST =
'http://schemas.xmlsoap.org/ws/2005/02/trust'
NS_WSI =
'http://www.w3.org/2001/XMLSchema-instance'
NS_ADDRESSING =
'http://www.w3.org/2005/08/addressing'
NS_POLICY =
'http://schemas.xmlsoap.org/ws/2004/09/policy'
NS_WSS_SEC =
'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd'
NS_WSS_UTILITY =
'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd'
NS_WSS_D3P1 =
'http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd'
NS_MAP =
{'samlp': 'urn:oasis:names:tc:SAML:2.0:protocol', 'saml': 'urn:oasis:names:tc:SAML:2.0:assertion', 'ds': 'http://www.w3.org/2000/09/xmldsig#', 'md': 'urn:oasis:names:tc:SAML:2.0:metadata', 'xenc': 'http://www.w3.org/2001/04/xmlenc#', 'fed': 'http://docs.oasis-open.org/wsfed/federation/200706', 'xsi': 'http://www.w3.org/2001/XMLSchema-instance', 'wsa': 'http://www.w3.org/2005/08/addressing', 't': 'http://schemas.xmlsoap.org/ws/2005/02/trust', 'wsu': 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd', 'wsp': 'http://schemas.xmlsoap.org/ws/2004/09/policy', 'wssec': 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd', 'd3p1': 'http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd'}