Home | Trees | Indices | Help |
|
---|
|
object --+ | extension.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.
|
|||
__init__(self,
data=None,
sreg_ns_uri=ns_uri) x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
|||
getExtensionArgs(self) Get the fields to put in the simple registration namespace when adding them to an id_res message. |
|||
__contains__(self, field_name) | |||
__nonzero__(self) | |||
Inherited from Inherited from |
|||
Read-only dictionary interface | |||
---|---|---|---|
get(self,
field_name,
default=None) Like dict.get, except that it checks that the field name is defined by the simple registration specification |
|||
items(self) All of the data values in this simple registration response |
|||
iteritems(self) | |||
keys(self) | |||
iterkeys(self) | |||
has_key(self, key) | |||
__iter__(self) | |||
__getitem__(self, field_name) |
|
|||
Server | |||
---|---|---|---|
SRegResponse |
extractResponse(cls,
request,
data) Take a SRegRequest and a dictionary of simple
registration values and create a SRegResponse object containing that data.
|
||
Consumer | |||
SRegResponse |
fromSuccessResponse(cls,
success_response,
signed_only=True) Create a SRegResponse object from a successful OpenID
library response (openid.consumer.consumer.SuccessResponse )
response message
|
|
|||
ns_alias = 'sreg'
|
|
|||
data The simple registration data, keyed by the unqualified simple registration name of the field (i.e. |
|||
ns_uri The namespace to which to add the arguments for this extension |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Take a SRegRequest and a dictionary of simple
registration values and create a SRegResponse object containing that data.
|
Create a SRegResponse object from a successful OpenID
library response (openid.consumer.consumer.SuccessResponse )
response message
|
Get the fields to put in the simple registration namespace when adding them to an id_res message.
|
Like dict.get, except that it checks that the field name is defined by the simple registration specification |
All of the data values in this simple registration response |
|
|
|
|
|
|
|
|
|
ns_alias
|
|
dataThe simple registration data, keyed by the unqualified simple registration name of the field (i.e. nickname is keyed by 'nickname' )
|
ns_uriThe namespace to which to add the arguments for this extension |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Fri May 11 15:30:20 2007 | http://epydoc.sourceforge.net |