def add_sreg(resp, data)
      sreg_resp = OpenID::SReg::Response.extract_response(sreg_request, data)
      resp.add_extension(sreg_resp)
      resp
    end
def add_sreg(resp, data)
      sreg_resp = OpenID::SReg::Response.extract_response(sreg_request, data)
      resp.add_extension(sreg_resp)
      resp
    end
Adds SReg data (Hash) to an OpenID response.