method
http_basic_authenticate_with
v8.1.1 -
Show latest stable
- Class:
ActionController::HttpAuthentication::Basic::ControllerMethods::ClassMethods
http_basic_authenticate_with(name:, password:, realm: nil, **options)public
Enables HTTP Basic authentication.
See ActionController::HttpAuthentication::Basic for example usage.