| Home | Trees | Index | Help |
|
|---|
| Package openid :: Module association |
|
This module contains code for dealing with associations between
consumers and servers. Associations contain a shared secret that is used
to sign openid.mode=id_res messages.
store, server and consumer objects will create and manage the
associations. The consumer and server code will make use of a SessionNegotiator when managing
associations, which enables users to express a preference for what kind
of associations should be allowed, and what kind of exchange should be
done to establish the association.
| Classes | |
|---|---|
Association |
This class represents an association between a server and a consumer. |
SessionNegotiator |
A session negotiator controls the allowed and preferred association types and association session types. |
| Variable Summary | |
|---|---|
SessionNegotiator |
default_negotiator: A that allows all
association types that are specified by the OpenID specification. |
SessionNegotiator |
encrypted_negotiator: A that does not
support 'no-encryption' associations. |
| Variable Details |
|---|
default_negotiatorA that allows all
association types that are specified by the OpenID specification. It
prefers to use HMAC-SHA1/DH-SHA1, if it's available. If HMAC-SHA256 is
not supported by your Python runtime, HMAC-SHA256 and DH-SHA256 will not
be available.
|
encrypted_negotiatorA that does not
support 'no-encryption' associations. It prefers
HMAC-SHA1/DH-SHA1 association types if available.
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Fri Jun 27 15:48:23 2008 | http://epydoc.sf.net |