Class: OpenID::Server::Encoder

Class | OpenID::Server::Encoder
In: | lib/openid/server.rb
Parent: | Object

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.

### Methods

encode

### Public Instance methods

encode(response)

Encode a response to a WebResponse.

Raises EncodingError when I can‘t figure out how to encode this message.

[Validate]