Sha256: 83ec25441bb311ac046f43f8c105ab1cbd1722f36f7e1cf02c1ffd4ef0a7d804

Contents?: true

Size: 626 Bytes

Versions: 94

Compression:

Stored size: 626 Bytes

Contents

class ApplicationController < Rhoconnect::Controller::AppBase
  register Rhoconnect::EndPoint

  post "/login", :rc_handler => :authenticate,
                 :deprecated_route => {:verb => :post, :url => ['/application/clientlogin', '/api/application/clientlogin']} do
    login = params[:login]
    password = params[:password]
    true # do some interesting authentication here...
  end

  get "/rps_login", :rc_handler => :rps_authenticate, 
                    :login_required => true do
    login = params[:login]
    password = params[:password]
    true # optionally handle rhoconnect push authentication...
  end
end

Version data entries

94 entries across 23 versions & 1 rubygems

Version Path
rhoconnect-6.0.11 bench/blobapp/controllers/ruby/application_controller.rb
rhoconnect-6.0.11 generators/templates/application/controllers/ruby/application_controller.rb
rhoconnect-6.0.11 bench/benchapp/controllers/ruby/application_controller.rb
rhoconnect-6.0.11 bench/benchapp/controllers/ruby/application.rb
rhoconnect-5.5.18 generators/templates/application/controllers/ruby/application_controller.rb
rhoconnect-5.5.18 bench/benchapp/controllers/ruby/application.rb
rhoconnect-5.5.18 bench/benchapp/controllers/ruby/application_controller.rb
rhoconnect-5.5.18 bench/blobapp/controllers/ruby/application_controller.rb
rhoconnect-5.5.17 bench/benchapp/controllers/ruby/application.rb
rhoconnect-5.5.17 bench/benchapp/controllers/ruby/application_controller.rb
rhoconnect-5.5.17 bench/blobapp/controllers/ruby/application_controller.rb
rhoconnect-5.5.17 generators/templates/application/controllers/ruby/application_controller.rb
rhoconnect-5.5.15 bench/blobapp/controllers/ruby/application_controller.rb
rhoconnect-5.5.15 bench/benchapp/controllers/ruby/application.rb
rhoconnect-5.5.15 generators/templates/application/controllers/ruby/application_controller.rb
rhoconnect-5.5.15 bench/benchapp/controllers/ruby/application_controller.rb
rhoconnect-5.5.0.22 bench/benchapp/controllers/ruby/application.rb
rhoconnect-5.5.0.22 bench/benchapp/controllers/ruby/application_controller.rb
rhoconnect-5.5.0.22 bench/blobapp/controllers/ruby/application_controller.rb
rhoconnect-5.5.0.22 generators/templates/application/controllers/ruby/application_controller.rb