An object that holds the state necessary for generating an OpenID
authentication request. This object holds the association with the server
and the discovered information with which the request will be made.
It is separate from the consumer because you may wish to add things to
the request before sending it on its way to the server. It also has
serialization options that let you encode the authentication request as a
URL or as a form POST.
|
|
|
|
|
|
|
|
openid.message.Message
|
|
str
|
redirectURL(self,
realm,
return_to=None,
immediate=False)
Returns a URL with an encoded OpenID request. |
source code
|
|
|
formMarkup(self,
realm,
return_to=None,
immediate=False,
form_tag_attrs=None)
Get html for a form to submit this request to the IDP. |
source code
|
|
|
htmlMarkup(self,
realm,
return_to=None,
immediate=False,
form_tag_attrs=None)
Get an autosubmitting HTML page that submits this request to the IDP. |
source code
|
|
bool
|
shouldSendRedirect(self)
Should this OpenID authentication request be sent as a HTTP redirect
or as a POST (form submission)? |
source code
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|