An object to hold the state of a simple registration request.
|
|
__init__(self,
required=None,
optional=None,
policy_url=None,
sreg_ns_uri='http://openid.net/extensions/sreg/1.1')
Initialize an empty simple registration request |
source code
|
|
|
[str]
|
allRequestedFields(self)
A list of all of the simple registration fields that were requested,
whether they were required or optional. |
source code
|
|
|
bool
|
wereFieldsRequested(self)
Have any simple registration fields been requested? |
source code
|
|
|
|
__contains__(self,
field_name)
Was this field in the request? |
source code
|
|
|
Inherited from extension.Extension:
toMessage
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|
|
|
requestField(self,
field_name,
required=False,
strict=False)
Request the specified field from the OpenID user |
source code
|
|
|
|
|
|
{str:str}
|
|
|
|
parseExtensionArgs(self,
args,
strict=False)
Parse the unqualified simple registration request parameters and add
them to this object. |
source code
|
|