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

Class SubjectQuery

source code


SAML 2.0 Core Subject Query type

Instance Methods [hide private]
 
__init__(self, **kw)
Subject Query initialisation
source code
dict
__getstate__(self)
Enable pickling
source code
ndg.saml.saml2.core.Subject
_getSubject(self)
Gets the Subject of this request.
source code
 
_setSubject(self, value)
Sets the Subject of this request.
source code

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 = 'SubjectQuery'
default XML element name - derived classes must specify

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, TYPE_LOCAL_NAME, TYPE_NAME, UNAVAILABLE_CONSENT, UNSPECIFIED_CONSENT, VERSION_ATTRIB_NAME

Instance Variables [hide private]
ndg.saml.saml2.core.Subject __subject
subject for this query
Properties [hide private]
  subject
Query 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 

Subject 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__

_getSubject(self)

source code 

Gets the Subject of this request.

Returns: ndg.saml.saml2.core.Subject
the Subject of this request

_setSubject(self, value)

source code 

Sets the Subject of this request.

Parameters:
  • value (ndg.saml.saml2.core.Subject) - the Subject of this request
Raises:
  • TypeError - incorrect input type

Property Details [hide private]

subject

Query subject

Get Method:
_getSubject(self) - Gets the Subject of this request.
Set Method:
_setSubject(self, value) - Sets the Subject of this request.