Home | Trees | Indices | Help |
|
---|
|
object --+ | Message
|
|||
__init__(self,
openid_namespace=None) Create an empty Message |
|||
setOpenIDNamespace(self, openid_ns_uri) | |||
getOpenIDNamespace(self) | |||
isOpenID1(self) | |||
isOpenID2(self) | |||
copy(self) | |||
toPostArgs(self) Return all arguments with openid. |
|||
toArgs(self) Return all namespaced arguments, failing if any non-namespaced arguments exist. |
|||
str or unicode |
toFormMarkup(self,
action_url,
form_tag_attrs=None,
submit_text="Continue") Generate HTML form markup that contains the values in this message, to be HTTP POSTed as x-www-form-urlencoded UTF-8. |
||
toURL(self,
base_url) Generate a GET URL with the parameters in this message attached as query parameters. |
|||
toKVForm(self) Generate a KVForm string that contains the parameters in this message. |
|||
toURLEncoded(self) Generate an x-www-urlencoded string |
|||
hasKey(self, namespace, ns_key) | |||
getKey(self,
namespace,
ns_key) Get the key for a particular namespaced argument |
|||
str or the type of default |
getArg(self,
namespace,
key,
default=None) Get a value for a namespaced key. |
||
dict |
getArgs(self,
namespace) Get the arguments that are defined for this namespace URI |
||
updateArgs(self,
namespace,
updates) Set multiple key/value pairs in one call |
|||
setArg(self,
namespace,
key,
value) Set a single argument in this namespace |
|||
delArg(self, namespace, key) | |||
__str__(self) str(x) |
|||
__eq__(self, other) | |||
__ne__(self, other) | |||
getAliasedArg(self, aliased_key, default=None) | |||
Inherited from |
|
|||
fromPostArgs(cls,
args) Construct a Message containing a set of POST arguments |
|||
fromOpenIDArgs(cls,
openid_args) Construct a Message from a parsed KVForm message |
|||
fromKVForm(cls,
kvform_string) Create a Message from a KVForm string |
|
|||
allowed_openid_namespaces = ['http://openid.net/signon/1.0', 'http://specs.openi...
|
|||
namespaces A dictionary specifying specific namespace-URI to alias mappings that should be used when generating namespace aliases. |
|
|||
ns_args two-level dictionary of the values in this message, grouped by namespace URI. |
|
|||
Inherited from |
|
Create an empty Message
|
Construct a Message containing a set of POST arguments |
Construct a Message from a parsed KVForm message |
|
|
|
|
Create a Message from a KVForm string |
|
Return all arguments with openid. in front of namespaced arguments. |
Return all namespaced arguments, failing if any non-namespaced arguments exist. |
Generate HTML form markup that contains the values in this message, to be HTTP POSTed as x-www-form-urlencoded UTF-8.
|
Generate a GET URL with the parameters in this message attached as query parameters. |
Generate a KVForm string that contains the parameters in this message. This will fail if the message contains arguments outside of the 'openid.' prefix. |
Generate an x-www-urlencoded string |
|
Get the key for a particular namespaced argument |
Get a value for a namespaced key.
|
Get the arguments that are defined for this namespace URI
|
Set multiple key/value pairs in one call
|
Set a single argument in this namespace |
|
str(x)
|
|
|
|
|
allowed_openid_namespaces
|
namespacesA dictionary specifying specific namespace-URI to alias mappings that should be used when generating namespace aliases. |
|
ns_argstwo-level dictionary of the values in this message, grouped by namespace URI. The first level is the namespace URI. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Fri Jun 22 21:41:46 2007 | http://epydoc.sourceforge.net |