Class | OpenID::Server::OpenIDResponse |
In: |
lib/openid/server.rb
|
Parent: | Object |
Object representing a response to an OpenIDRequest
fields | [RW] | |
request | [RW] | |
signed | [RW] |
Add an extra field to this response.
Same as OpenIDResponse.add_field, except that it accepts a Hash fields to be added as the fields argument.
OpenID responses can be sent back as a URL redirect or as a kvform reponse to a POST. This method returns a code describing how the response should be encoded, and return either OpenID::Server::ENCODE_URL or OpenID::Server::ENCODE_KVFORM.