Package ndg :: Package saml :: Package xml :: Module etree :: Class AuthzDecisionQueryElementTree
[hide private]

Class AuthzDecisionQueryElementTree

source code


Represent a SAML Attribute Query in XML using ElementTree

Instance Methods [hide private]

Inherited from saml2.core.AuthzDecisionQuery: __getstate__, __init__, getOrderedChildren

Inherited from saml2.core.SubjectQuery (private): _getSubject, _setSubject

Inherited from common.SAMLObject: __setstate__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]
ElementTree.Element
toXML(cls, authzDecisionQuery)
Create an XML representation of the input SAML Authorization Decision Query object
source code
saml.saml2.core.AuthzDecisionQuery
fromXML(cls, elem)
Parse ElementTree element into a SAML AuthzDecisionQuery object
source code
Class Variables [hide private]

Inherited from saml2.core.AuthzDecisionQuery: DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, RESOURCE_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME

Inherited from saml2.core.RequestAbstractType: CONSENT_ATTRIB_NAME, DESTINATION_ATTRIB_NAME, EXPLICIT_CONSENT, ID_ATTRIB_NAME, IMPLICIT_CONSENT, INAPPLICABLE_CONSENT, ISSUE_INSTANT_ATTRIB_NAME, OBTAINED_CONSENT, PRIOR_CONSENT, UNAVAILABLE_CONSENT, UNSPECIFIED_CONSENT, VERSION_ATTRIB_NAME

Instance Variables [hide private]

Inherited from saml2.core.AuthzDecisionQuery: actions, evidence, normalizeResource, resource, safeNormalizationChars

Properties [hide private]

Inherited from saml2.core.SubjectQuery: subject

Inherited from saml2.core.RequestAbstractType: consent, destination, extensions, id, issueInstant, issuer, version

Inherited from common.SAMLObject: qname

Inherited from object: __class__

Method Details [hide private]

toXML(cls, authzDecisionQuery)
Class Method

source code 

Create an XML representation of the input SAML Authorization Decision Query object

Parameters:
  • authzDecisionQuery (saml.saml2.core.AuthzDecisionQuery) - SAML Authorization Decision Query
Returns: ElementTree.Element
Attribute Query as ElementTree XML element
Overrides: common.SAMLObject.toXML

fromXML(cls, elem)
Class Method

source code 

Parse ElementTree element into a SAML AuthzDecisionQuery object

Parameters:
  • elem (ElementTree.Element) - XML element containing the AuthzDecisionQuery
Returns: saml.saml2.core.AuthzDecisionQuery
AuthzDecisionQuery object
Overrides: common.SAMLObject.fromXML