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

Returns:

  • (Boolean)

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

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

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

def cookie_key
  build_key(self.class.cookie_key)
end

#find_by_login_methodObject


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

def 
  self.class.
end

#find_withObject


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

def find_with
  self.class.find_with
end

#last_request_at_thresholdObject


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

def last_request_at_threshold
  self.class.last_request_at_threshold
end

#login_blank_messageObject


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

def 
  self.class.
end

#login_fieldObject


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

def 
  self.class.
end

#login_not_found_messageObject


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

def 
  self.class.
end

#not_active_messageObject


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

def not_active_message
  self.class.not_active_message
end

#not_approved_messageObject


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

def not_approved_message
  self.class.not_approved_message
end

#not_confirmed_messageObject


368
369
370
# File 'lib/authlogic/session/config.rb', line 368

def not_confirmed_message
  self.class.not_confirmed_message
end

#params_allowed_request_typesObject


372
373
374
# File 'lib/authlogic/session/config.rb', line 372

def params_allowed_request_types
  build_key(self.class.params_allowed_request_types)
end

#params_keyObject


376
377
378
# File 'lib/authlogic/session/config.rb', line 376

def params_key
  build_key(self.class.params_key)
end

#password_blank_messageObject


380
381
382
# File 'lib/authlogic/session/config.rb', line 380

def password_blank_message
  self.class.password_blank_message
end

#password_fieldObject


384
385
386
# File 'lib/authlogic/session/config.rb', line 384

def password_field
  self.class.password_field
end

#password_invalid_messageObject


388
389
390
# File 'lib/authlogic/session/config.rb', line 388

def password_invalid_message
  self.class.password_invalid_message
end

#perishable_token_fieldObject


392
393
394
# File 'lib/authlogic/session/config.rb', line 392

def perishable_token_field
  klass.acts_as_authentic_config[:perishable_token_field]
end

#persistence_token_fieldObject


401
402
403
# File 'lib/authlogic/session/config.rb', line 401

def persistence_token_field
  klass.acts_as_authentic_config[:persistence_token_field]
end

#remember_me_forObject


396
397
398
399
# File 'lib/authlogic/session/config.rb', line 396

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

#session_keyObject


405
406
407
# File 'lib/authlogic/session/config.rb', line 405

def session_key
  build_key(self.class.session_key)
end

#single_access_allowed_request_typesObject


413
414
415
# File 'lib/authlogic/session/config.rb', line 413

def single_access_allowed_request_types
  self.class.single_access_allowed_request_types
end

#single_access_token_fieldObject


409
410
411
# File 'lib/authlogic/session/config.rb', line 409

def single_access_token_field
  klass.acts_as_authentic_config[:single_access_token_field]
end

#verify_password_methodObject


417
418
419
# File 'lib/authlogic/session/config.rb', line 417

def verify_password_method
  self.class.verify_password_method
end