Home | Trees | Index | Help |
|
---|
Package openid :: Package extensions :: Module pape :: Class Request |
|
object
--+ |Extension
--+ | Request
Method Summary | |
---|---|
__init__(self,
preferred_auth_policies,
max_auth_age)
| |
__nonzero__(self)
| |
Add an acceptable authentication policy URI to this request | |
Instantiate a Request object from the arguments in a checkid_* OpenID message (Class method)
| |
| |
None |
Set the state of this request to be that expressed in these PAPE arguments |
[str] |
Given a list of authentication policy URIs that a provider supports, this method returns the subsequence of those types that are preferred by the relying party. |
Inherited from Extension :
toMessage
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|
Instance Variable Summary | |
---|---|
int or NoneType | max_auth_age : The maximum time, in seconds, that the relying party wants to allow to
have elapsed before the user must re-authenticate |
NoneType |
ns_uri : The namespace to which to add the arguments for this extension |
[str] | preferred_auth_policies : The authentication policies that the relying party prefers |
Class Variable Summary | |
---|---|
str |
ns_alias = 'pape'
|
Instance Method Details |
---|
addPolicyURI(self, policy_uri)Add an acceptable authentication policy URI to this request This method is intended to be used by the relying party to add acceptable authentication types to the request.
|
getExtensionArgs(self)
|
parseExtensionArgs(self, args)Set the state of this request to be that expressed in these PAPE arguments
|
preferredTypes(self, supported_types)Given a list of authentication policy URIs that a provider supports, this method returns the subsequence of those types that are preferred by the relying party.
|
Class Method Details |
---|
fromOpenIDRequest(cls, request)Instantiate a Request object from the arguments in acheckid_* OpenID message
|
Instance Variable Details |
---|
max_auth_ageThe maximum time, in seconds, that the relying party wants to allow to have elapsed before the user must re-authenticate
|
ns_uriThe namespace to which to add the arguments for this extension
|
preferred_auth_policiesThe authentication policies that the relying party prefers
|
Class Variable Details |
---|
ns_alias
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Dec 14 16:10:53 2007 | http://epydoc.sf.net |