Class: OpenID::Server::OpenIDResponse

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

I am a response to an OpenID request.

Attributes:

signed: | A list of the names of the fields which should be signed.

Implementer‘s note: In a more symmetric client/server implementation, there would be more types of OpenIDResponse object and they would have validated attributes according to the type of response. But as it is, Response objects in a server are basically write-only, their only job is to go out over the wire, so this is just a loose wrapper around OpenIDResponse.fields.

### Methods

add_extension copy encode_to_kvform encode_to_url needs_signing new render_as_form to_form_markup to_s which_encoding

### Attributes

fields | [RW] | An OpenID::Message with the data to be returned. Keys are parameter names with no leading openid. e.g. identity and mac_key never openid.identity.
request | [RW] | The OpenIDRequest I respond to.

### Public Class methods

new(request)

### Public Instance methods

add_extension(extension_response)
copy()
encode_to_kvform()
encode_to_url()
needs_signing()
render_as_form()
to_form_markup()
to_s()
which_encoding()

implements IEncodable

[Validate]