Package ndg :: Package saml :: Package saml2 :: Module core :: Class AttributeQuery
[hide private]

Class AttributeQuery

source code


SAML 2.0 AttributeQuery

Instance Methods [hide private]
 
__init__(self, **kw)
Attribute Query initialisation
source code
dict
__getstate__(self)
Enable pickling
source code
ndg.saml.utils.TypedList
_getAttributes(self)
Get the Attributes of this query
source code
 
_setAttributes(self, value)
Set the attributes for this query
source code

Inherited from 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]

Inherited from common.SAMLObject: fromXML, toXML

Class Variables [hide private]
None DEFAULT_ELEMENT_LOCAL_NAME = 'AttributeQuery'
default XML element name - derived classes must specify
ndg.saml.common.xml.QName DEFAULT_ELEMENT_NAME = QName(SAMLConstants.SAML20P_NS, DEFAULT...
Default element name.
string TYPE_LOCAL_NAME = 'AttributeQueryType'
Local name of the XSI type.
ndg.saml.common.xml.QName TYPE_NAME = QName(SAMLConstants.SAML20P_NS, TYPE_LOCAL_NAME, S...
QName of the XSI type.

Inherited from 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]
TypedList __attributes
list of attributes for this query
Properties [hide private]
  attributes
Attributes

Inherited from SubjectQuery: subject

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

Inherited from common.SAMLObject: qname

Inherited from object: __class__

Method Details [hide private]

__init__(self, **kw)
(Constructor)

source code 

Attribute Query initialisation

Parameters:
  • kw (dict) - keywords to set attributes of superclasses
Overrides: object.__init__

__getstate__(self)

source code 

Enable pickling

Returns: dict
object's attribute dictionary
Overrides: common.SAMLObject.__getstate__

_getAttributes(self)

source code 

Get the Attributes of this query

Returns: ndg.saml.utils.TypedList
the list of Attributes of this query

_setAttributes(self, value)

source code 

Set the attributes for this query

Parameters:
  • value (TypedList) - new attributes for this query
Raises:
  • TypeError - incorrect type for attributes list

Class Variable Details [hide private]

DEFAULT_ELEMENT_NAME

Default element name.
Type:
ndg.saml.common.xml.QName
Value:
QName(SAMLConstants.SAML20P_NS, DEFAULT_ELEMENT_LOCAL_NAME, SAMLConsta\
nts.SAML20P_PREFIX)

TYPE_NAME

QName of the XSI type.
Type:
ndg.saml.common.xml.QName
Value:
QName(SAMLConstants.SAML20P_NS, TYPE_LOCAL_NAME, SAMLConstants.SAML20P\
_PREFIX)

Property Details [hide private]

attributes

Attributes

Get Method:
_getAttributes(self) - Get the Attributes of this query
Set Method:
_setAttributes(self, value) - Set the attributes for this query