Package openid :: Module association
[frames | no frames]

Module openid.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.

Users of the library should not usually need to interact directly with associations. The 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 SessionNegotiator that allows all association types that are specified by the OpenID specification.
SessionNegotiator encrypted_negotiator: A SessionNegotiator that does not support 'no-encryption' associations.

Variable Details

default_negotiator

A SessionNegotiator 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.
Type:
SessionNegotiator
Value:
<openid.association.SessionNegotiator object at 0x834baec>             

encrypted_negotiator

A SessionNegotiator that does not support 'no-encryption' associations. It prefers HMAC-SHA1/DH-SHA1 association types if available.
Type:
SessionNegotiator
Value:
<openid.association.SessionNegotiator object at 0x834bb2c>             

Generated by Epydoc 2.1 on Wed Apr 22 16:14:21 2009 http://epydoc.sf.net