Sha256: 6821a873816e887c7f9cfba7f8197c96c73e9c8c833eaa70a2635b70808bda65

Contents?: true

Size: 885 Bytes

Versions: 19

Compression:

Stored size: 885 Bytes

Contents

class CASino::SessionsController < CASino::ApplicationController
  include CASino::SessionsHelper

  def index
    processor(:TwoFactorAuthenticatorOverview).process(cookies, request.user_agent)
    processor(:SessionOverview).process(cookies, request.user_agent)
  end

  def new
    processor(:LoginCredentialRequestor).process(params, cookies, request.user_agent)
  end

  def create
    processor(:LoginCredentialAcceptor).process(params, request.user_agent)
  end

  def destroy
    processor(:SessionDestroyer).process(params, cookies, request.user_agent)
  end

  def destroy_others
    processor(:OtherSessionsDestroyer).process(params, cookies, request.user_agent)
  end

  def logout
    processor(:Logout).process(params, cookies, request.user_agent)
  end

  def validate_otp
    processor(:SecondFactorAuthenticationAcceptor).process(params, request.user_agent)
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
casino-3.0.4 app/controllers/casino/sessions_controller.rb
casino-2.0.7 app/controllers/casino/sessions_controller.rb
casino-3.0.3 app/controllers/casino/sessions_controller.rb
casino-3.0.2 app/controllers/casino/sessions_controller.rb
casino-3.0.1 app/controllers/casino/sessions_controller.rb
casino-3.0.0 app/controllers/casino/sessions_controller.rb
casino-3.0.0.pre.2 app/controllers/casino/sessions_controller.rb
casino-3.0.0.pre.1 app/controllers/casino/sessions_controller.rb
casino-2.0.6 app/controllers/casino/sessions_controller.rb
casino-2.0.5 app/controllers/casino/sessions_controller.rb
casino-2.0.4 app/controllers/casino/sessions_controller.rb
casino-2.0.3 app/controllers/casino/sessions_controller.rb
casino-2.0.2 app/controllers/casino/sessions_controller.rb
casino-2.0.1 app/controllers/casino/sessions_controller.rb
casino-2.0.0 app/controllers/casino/sessions_controller.rb
casino-1.3.2 app/controllers/casino/sessions_controller.rb
casino-1.3.1 app/controllers/casino/sessions_controller.rb
casino-1.3.0 app/controllers/casino/sessions_controller.rb
casino-1.2.2 app/controllers/casino/sessions_controller.rb