File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env python
2
+
3
+ #
4
+ # Generated Thu May 15 13:58:36 2014 by parse_xsd.py version 0.5.
5
+ #
6
+
7
+ import saml2
8
+
9
+ from saml2 import md
10
+
11
+ NAMESPACE = 'urn:oasis:names:tc:SAML:profiles:SSO:request-init'
12
+
13
+
14
+ class RequestInitiator (md .EndpointType_ ):
15
+ """The urn:oasis:names:tc:SAML:profiles:SSO:request-init:RequestInitiator
16
+ element """
17
+
18
+ c_tag = 'RequestInitiator'
19
+ c_namespace = NAMESPACE
20
+ c_children = md .EndpointType_ .c_children .copy ()
21
+ c_attributes = md .EndpointType_ .c_attributes .copy ()
22
+ c_child_order = md .EndpointType_ .c_child_order [:]
23
+ c_cardinality = md .EndpointType_ .c_cardinality .copy ()
24
+
25
+
26
+ def request_initiator_from_string (xml_string ):
27
+ return saml2 .create_class_from_xml_string (RequestInitiator , xml_string )
28
+
29
+
30
+ ELEMENT_FROM_STRING = {
31
+ RequestInitiator .c_tag : request_initiator_from_string ,
32
+ }
33
+
34
+ ELEMENT_BY_TAG = {
35
+ 'RequestInitiator' : RequestInitiator ,
36
+ }
37
+
38
+
39
+ def factory (tag , ** kwargs ):
40
+ return ELEMENT_BY_TAG [tag ](** kwargs )
41
+
You can’t perform that action at this time.
0 commit comments