Package openid :: Package test :: Module test_consumer :: Class CheckAuthDetectingConsumer
[hide private]
[frames] | no frames]

Class CheckAuthDetectingConsumer

source code

                       object --+    
                                |    
consumer.consumer.GenericConsumer --+
                                    |
                                   CheckAuthDetectingConsumer

This is the implementation of the common logic for OpenID consumers. It is unaware of the application in which it is running.

Instance Methods [hide private]
bool
_checkAuth(self, *args)
Make a check_authentication request to verify this message.
source code
 
_idResCheckNonce(self, *args)
We're not testing nonce-checking, so just return success when it asks.
source code

Inherited from consumer.consumer.GenericConsumer: __init__, begin, complete

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]
Class Variables [hide private]

Inherited from consumer.consumer.GenericConsumer: openid1_nonce_query_arg_name, openid1_return_to_identifier_name, session_types

Instance Variables [hide private]

Inherited from consumer.consumer.GenericConsumer: negotiator

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

_checkAuth(self, *args)

source code 

Make a check_authentication request to verify this message.

Returns: bool
True if the request is valid.
Overrides: consumer.consumer.GenericConsumer._checkAuth
(inherited documentation)

_idResCheckNonce(self, *args)

source code 

We're not testing nonce-checking, so just return success when it asks.

Overrides: consumer.consumer.GenericConsumer._idResCheckNonce