Package openid :: Package server :: Module server :: Class UntrustedReturnURL
[frames] | no frames]

Class UntrustedReturnURL

source code

              object --+            
                       |            
exceptions.BaseException --+        
                           |        
        exceptions.Exception --+    
                               |    
                   ProtocolError --+
                                   |
                                  UntrustedReturnURL

A return_to is outside the trust_root.

Instance Methods
 
__init__(self, message, return_to, trust_root)
When an error occurs.
source code
 
__str__(self)
str(x)
source code

Inherited from ProtocolError: encodeToKVForm, encodeToURL, getReturnTo, hasReturnTo, toFormMarkup, toHTML, toMessage, whichEncoding

Inherited from exceptions.Exception: __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __repr__, __setattr__, __setstate__

Inherited from object: __hash__, __reduce_ex__

Instance Variables

Inherited from ProtocolError: message

Properties

Inherited from exceptions.BaseException: args

Inherited from object: __class__

Method Details

__init__(self, message, return_to, trust_root)
(Constructor)

source code 

When an error occurs.

Parameters:
  • message - The message that is failing to be a valid OpenID request.
  • text - A message about the encountered error. Set as args[0].
Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)