Class: Merb::Authentication::Strategies::Basic::Base
- Inherits:
-
Merb::Authentication::Strategy
- Object
- Merb::Authentication::Strategy
- Merb::Authentication::Strategies::Basic::Base
- Defined in:
- lib/merb-auth-more/strategies/abstract_password.rb
Class Method Summary collapse
-
.login_param ⇒ Object
Overwrite this method to customize the field.
-
.password_param ⇒ Object
Overwrite this method to customize the field.
Instance Method Summary collapse
Class Method Details
.login_param ⇒ Object
Overwrite this method to customize the field
17 18 19 |
# File 'lib/merb-auth-more/strategies/abstract_password.rb', line 17 def self.login_param (Merb::Plugins.config[:"merb-auth"][:login_param] || :login).to_s.to_sym end |
.password_param ⇒ Object
Overwrite this method to customize the field
12 13 14 |
# File 'lib/merb-auth-more/strategies/abstract_password.rb', line 12 def self.password_param (Merb::Plugins.config[:"merb-auth"][:password_param] || :password).to_s.to_sym end |
Instance Method Details
#login_param ⇒ Object
25 26 27 |
# File 'lib/merb-auth-more/strategies/abstract_password.rb', line 25 def login_param @login_param ||= Base.login_param end |
#password_param ⇒ Object
21 22 23 |
# File 'lib/merb-auth-more/strategies/abstract_password.rb', line 21 def password_param @password_param ||= Base.password_param end |