Module: ActionController::HttpAuthentication::Basic::ControllerMethods::ClassMethods
- Defined in:
- actionpack/lib/action_controller/metal/http_authentication.rb
Instance Method Summary collapse
Instance Method Details
#http_basic_authenticate_with(name:, password:, realm: nil, **options) ⇒ Object
72 73 74 |
# File 'actionpack/lib/action_controller/metal/http_authentication.rb', line 72 def http_basic_authenticate_with(name:, password:, realm: nil, **) before_action() { http_basic_authenticate_or_request_with name: name, password: password, realm: realm } end |