1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
// SAML 2.0 Namespace URI constants
//
// References:
// - saml-core-2.0-os Section 1.3 (Common Attributes)
// - saml-metadata-2.0-os Section 2.1
// - saml-bindings-2.0-os Section 3 (various)
/// SAML 2.0 Assertion namespace
pub const SAML_ASSERTION_NS: &str = "urn:oasis:names:tc:SAML:2.0:assertion";
/// SAML 2.0 Protocol namespace
pub const SAML_PROTOCOL_NS: &str = "urn:oasis:names:tc:SAML:2.0:protocol";
/// SAML 2.0 Metadata namespace
pub const SAML_METADATA_NS: &str = "urn:oasis:names:tc:SAML:2.0:metadata";
/// W3C XML Digital Signature namespace
pub const XMLDSIG_NS: &str = "http://www.w3.org/2000/09/xmldsig#";
/// W3C XML Encryption namespace
pub const XMLENC_NS: &str = "http://www.w3.org/2001/04/xmlenc#";
/// SOAP 1.1 Envelope namespace
pub const SOAP11_NS: &str = "http://schemas.xmlsoap.org/soap/envelope/";
/// Liberty Alliance PAOS namespace
pub const PAOS_NS: &str = "urn:liberty:paos:2003-08";
/// SAML 2.0 ECP namespace
pub const ECP_NS: &str = "urn:oasis:names:tc:SAML:2.0:profiles:SSO:ecp";
/// X.500 attribute namespace
pub const X500_NS: &str = "urn:oasis:names:tc:SAML:2.0:profiles:attribute:X500";
/// DCE PAC attribute namespace
pub const DCE_NS: &str = "urn:oasis:names:tc:SAML:2.0:profiles:attribute:DCE";
/// XML Schema Instance namespace
pub const XSI_NS: &str = "http://www.w3.org/2001/XMLSchema-instance";
/// XML Schema namespace
pub const XS_NS: &str = "http://www.w3.org/2001/XMLSchema";
/// Common namespace prefixes used in SAML messages