def index
      clear_checkid_request
      respond_to do |format|
        format.html do
          if openid_request.is_a?(OpenID::Server::CheckIDRequest)
            handle_checkid_request
          elsif openid_request
            handle_non_checkid_request
          else
            render :text => t(:this_is_openid_not_a_human_ressource)
          end
        end
        format.xrds
      end
    end
def index
      clear_checkid_request
      respond_to do |format|
        format.html do
          if openid_request.is_a?(OpenID::Server::CheckIDRequest)
            handle_checkid_request
          elsif openid_request
            handle_non_checkid_request
          else
            render :text => t(:this_is_openid_not_a_human_ressource)
          end
        end
        format.xrds
      end
    end
This is the server endpoint which handles all incoming OpenID requests.
 Associate and CheckAuth requests are answered directly - functionality
 therefor is provided by the ruby-openid gem. Handling of CheckId requests
 dependents on the users login state (see handle_checkid_request).
 Yadis requests return information about this endpoint.