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

Class Encoder

source code

object --+
Known Subclasses:

I encode responses in to WebResponses.

If you don't like WebResponses, you can do your own handling of OpenIDResponses with OpenIDResponse.whichEncoding, OpenIDResponse.encodeToURL, and OpenIDResponse.encodeToKVForm.

Nested Classes
I am a response to an OpenID request in terms a web server understands.
Instance Methods
encode(self, response)
Encode a response to a WebResponse.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__


Inherited from object: __class__

Method Details

encode(self, response)

source code 

Encode a response to a WebResponse.

  • EncodingError - When I can't figure out how to encode this message.