Module: Authlogic::Session::Config::InstanceMethods

Defined in:
lib/authlogic/session/config.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#change_single_access_token_with_password?Boolean


317
318
319
# File 'lib/authlogic/session/config.rb', line 317

def change_single_access_token_with_password?
  self.class.change_single_access_token_with_password == true
end

321
322
323
# File 'lib/authlogic/session/config.rb', line 321

def cookie_key
  build_key(self.class.cookie_key)
end

#disable_magic_states?Boolean


325
326
327
# File 'lib/authlogic/session/config.rb', line 325

def disable_magic_states?
  self.class.disable_magic_states == true
end

#find_by_login_methodObject


329
330
331
# File 'lib/authlogic/session/config.rb', line 329

def 
  self.class.
end

#find_withObject


333
334
335
# File 'lib/authlogic/session/config.rb', line 333

def find_with
  self.class.find_with
end

#last_request_at_thresholdObject


337
338
339
# File 'lib/authlogic/session/config.rb', line 337

def last_request_at_threshold
  self.class.last_request_at_threshold
end

#login_fieldObject


341
342
343
# File 'lib/authlogic/session/config.rb', line 341

def 
  self.class.
end

#logout_on_timeout?Boolean


345
346
347
# File 'lib/authlogic/session/config.rb', line 345

def logout_on_timeout?
  self.class.logout_on_timeout == true
end

#params_allowed_request_typesObject


349
350
351
# File 'lib/authlogic/session/config.rb', line 349

def params_allowed_request_types
  build_key(self.class.params_allowed_request_types)
end

#params_keyObject


353
354
355
# File 'lib/authlogic/session/config.rb', line 353

def params_key
  build_key(self.class.params_key)
end

#password_fieldObject


357
358
359
# File 'lib/authlogic/session/config.rb', line 357

def password_field
  self.class.password_field
end

#perishable_token_fieldObject


361
362
363
# File 'lib/authlogic/session/config.rb', line 361

def perishable_token_field
  klass.acts_as_authentic_config[:perishable_token_field]
end

#persistence_token_fieldObject


370
371
372
# File 'lib/authlogic/session/config.rb', line 370

def persistence_token_field
  klass.acts_as_authentic_config[:persistence_token_field]
end

#remember_me_forObject


365
366
367
368
# File 'lib/authlogic/session/config.rb', line 365

def remember_me_for
  return unless remember_me?
  self.class.remember_me_for
end

#session_keyObject


374
375
376
# File 'lib/authlogic/session/config.rb', line 374

def session_key
  build_key(self.class.session_key)
end

#single_access_allowed_request_typesObject


382
383
384
# File 'lib/authlogic/session/config.rb', line 382

def single_access_allowed_request_types
  self.class.single_access_allowed_request_types
end

#single_access_token_fieldObject


378
379
380
# File 'lib/authlogic/session/config.rb', line 378

def single_access_token_field
  klass.acts_as_authentic_config[:single_access_token_field]
end

#verify_password_methodObject


386
387
388
# File 'lib/authlogic/session/config.rb', line 386

def verify_password_method
  self.class.verify_password_method
end