本文整理汇总了Python中saml2.SamlBase类的典型用法代码示例。如果您正苦于以下问题:Python SamlBase类的具体用法?Python SamlBase怎么用?Python SamlBase使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了SamlBase类的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
def __init__(self,
encryption_method=None,
key_info=None,
cipher_data=None,
encryption_properties=None,
id=None,
type=None,
mime_type=None,
encoding=None,
text=None,
extension_elements=None,
extension_attributes=None,
):
SamlBase.__init__(self,
text=text,
extension_elements=extension_elements,
extension_attributes=extension_attributes,
)
self.encryption_method = encryption_method
self.key_info = key_info
self.cipher_data = cipher_data
self.encryption_properties = encryption_properties
self.id = id
self.type = type
self.mime_type = mime_type
self.encoding = encoding
示例2: __init__
def __init__(self,
publication=None,
text=None,
extension_elements=None,
extension_attributes=None):
SamlBase.__init__(self,
text=text,
extension_elements=extension_elements,
extension_attributes=extension_attributes)
self.publication = publication or []
示例3: __init__
def __init__(self,
algorithm=None,
text=None,
extension_elements=None,
extension_attributes=None):
SamlBase.__init__(self,
text=text,
extension_elements=extension_elements,
extension_attributes=extension_attributes)
self.algorithm = algorithm
示例4: __init__
def __init__(self,
x509_data=None,
text=None,
extension_elements=None,
extension_attributes=None):
SamlBase.__init__(self,
text=text,
extension_elements=extension_elements,
extension_attributes=extension_attributes)
self.x509_data = x509_data
示例5: __init__
def __init__(self,
regexp='false',
text=None,
extension_elements=None,
extension_attributes=None):
SamlBase.__init__(self,
text=text,
extension_elements=extension_elements,
extension_attributes=extension_attributes)
self.regexp = regexp
示例6: __init__
def __init__(self,
value_type=None,
text=None,
extension_elements=None,
extension_attributes=None,
):
SamlBase.__init__(self,
text=text,
extension_elements=extension_elements,
extension_attributes=extension_attributes,
)
self.value_type=value_type
示例7: __init__
def __init__(self,
publisher=None,
text=None,
extension_elements=None,
extension_attributes=None,
):
SamlBase.__init__(self,
text=text,
extension_elements=extension_elements,
extension_attributes=extension_attributes,
)
self.publisher=publisher or []
示例8: __init__
def __init__(self,
documentation=None,
text=None,
extension_elements=None,
extension_attributes=None,
):
SamlBase.__init__(self,
text=text,
extension_elements=extension_elements,
extension_attributes=extension_attributes,
)
self.documentation=documentation
示例9: __init__
def __init__(self,
relationship_type='http://www.w3.org/2005/08/addressing/reply',
text=None,
extension_elements=None,
extension_attributes=None,
):
SamlBase.__init__(self,
text=text,
extension_elements=extension_elements,
extension_attributes=extension_attributes,
)
self.relationship_type=relationship_type
示例10: __init__
def __init__(self,
height=None,
width=None,
lang=None,
text=None,
extension_elements=None,
extension_attributes=None):
SamlBase.__init__(self,
text=text,
extension_elements=extension_elements,
extension_attributes=extension_attributes)
self.height = height
self.width = width
self.lang = lang
示例11: __init__
def __init__(self,
mustUnderstand=None,
actor=None,
text=None,
extension_elements=None,
extension_attributes=None,
):
SamlBase.__init__(self,
text=text,
extension_elements=extension_elements,
extension_attributes=extension_attributes,
)
self.mustUnderstand=mustUnderstand
self.actor=actor
示例12: __init__
def __init__(self,
attribute=None,
assertion=None,
text=None,
extension_elements=None,
extension_attributes=None,
):
SamlBase.__init__(self,
text=text,
extension_elements=extension_elements,
extension_attributes=extension_attributes,
)
self.attribute=attribute or []
self.assertion=assertion or []
示例13: __init__
def __init__(self,
header=None,
body=None,
text=None,
extension_elements=None,
extension_attributes=None,
):
SamlBase.__init__(self,
text=text,
extension_elements=extension_elements,
extension_attributes=extension_attributes,
)
self.header=header
self.body=body
示例14: __init__
def __init__(
self,
applies_to=None,
policy=None,
policy_reference=None,
text=None,
extension_elements=None,
extension_attributes=None,
):
SamlBase.__init__(
self, text=text, extension_elements=extension_elements, extension_attributes=extension_attributes
)
self.applies_to = applies_to
self.policy = policy or []
self.policy_reference = policy_reference or []