Class: CASino::LoginAttemptsController

Inherits:
ApplicationController show all
Includes:
SessionsHelper
Defined in:
app/controllers/casino/login_attempts_controller.rb

Constant Summary

Constants included from ServiceTicketProcessor

ServiceTicketProcessor::RESERVED_CAS_PARAMETER_KEYS

Instance Method Summary collapse

Methods included from SessionsHelper

#create_login_attempt, #current_ticket_granting_ticket, #current_ticket_granting_ticket?, #current_user, #ensure_signed_in, #log_failed_login, #set_tgt_cookie, #sign_in, #sign_out, #signed_in?

Methods included from ServiceTicketProcessor

#acquire_service_ticket, #clean_service_url, #service_allowed?, #ticket_valid_for_service?, #validate_ticket_for_service

Methods included from TicketGrantingTicketProcessor

#acquire_ticket_granting_ticket, #cleanup_expired_ticket_granting_tickets, #find_valid_ticket_granting_ticket, #load_or_initialize_user, #remove_ticket_granting_ticket

Methods included from BrowserProcessor

#browser_info, #same_browser?

Methods inherited from ApplicationController

#cookies

Instance Method Details

#indexObject



6
7
8
9
# File 'app/controllers/casino/login_attempts_controller.rb', line 6

def index
  @login_attempts = current_user..order(created_at: :desc)
                                .page(params[:page]).per(10)
end