Class OpenID::Server::ProtocolError
In: lib/openid/server.rb
Parent: Exception

A message did not conform to the OpenID protocol.

Methods

Attributes

contact  [RW] 
openid_message  [RW]  The query that is failing to be a valid OpenID request.
reference  [RW] 

Public Class methods

text:A message about the encountered error.

Public Instance methods

implements IEncodable

Get the return_to argument from the request, if any.

Did this request have a return_to parameter?

Generate a Message object for sending to the relying party, after encoding.

How should I be encoded?

Returns one of ENCODE_URL, ENCODE_KVFORM, or None. If None, I cannot be encoded as a protocol message and should be displayed to the user.

[Validate]