| Home | Trees | Index | Help |
|
|---|
| Package openid :: Package extensions :: Module sreg :: Class SRegResponse |
|
object--+ |Extension--+ | SRegResponse
id_res response. This object will be created by
the OpenID server, added to the id_res response object, and
then extracted from the id_res message by the Consumer.
| Method Summary | |
|---|---|
__init__(self,
data,
sreg_ns_uri)
| |
__contains__(self,
field_name)
| |
__nonzero__(self)
| |
Get the fields to put in the simple registration namespace when adding them to an id_res message. | |
Inherited from Extension:
toMessage
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
| |
| Server | |
| SRegResponse |
Take a and a dictionary of
simple registration values and create a object containing that
data. (Class method)
|
| Consumer | |
| SRegResponse |
Create a object from a
successful OpenID library response ()
response message (Class method)
|
| Read-only dictionary interface | |
keys(self)
| |
iterkeys(self)
| |
All of the data values in this simple registration response | |
iteritems(self)
| |
__iter__(self)
| |
Like dict.get, except that it checks that the field name is defined by the simple registration specification | |
__getitem__(self,
field_name)
| |
has_key(self,
key)
| |
| Instance Variable Summary | |
|---|---|
data: The simple registration data, keyed by the unqualified simple
registration name of the field (i.e. | |
ns_uri: The URI under which the simple registration data was stored in the
response message. | |
| Class Variable Summary | |
|---|---|
str |
ns_alias = 'sreg'
|
| Instance Method Details |
|---|
items(self)All of the data values in this simple registration response |
get(self, field_name, default=None)Like dict.get, except that it checks that the field name is defined by the simple registration specification |
getExtensionArgs(self)Get the fields to put in the simple registration namespace when adding them to an id_res message.
|
| Class Method Details |
|---|
extractResponse(cls, request, data)Take a and a dictionary of
simple registration values and create a object containing
that data.
|
fromSuccessResponse(cls, success_response, signed_only=True)Create a object from a
successful OpenID library response ()
response message
|
| Instance Variable Details |
|---|
dataThe simple registration data, keyed by the unqualified simple registration name of the field (i.e. nickname is keyed by'nickname')
|
ns_uriThe URI under which the simple registration data was stored in the response message. |
| Class Variable Details |
|---|
ns_alias
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Fri Jun 27 15:48:22 2008 | http://epydoc.sf.net |