| Module | ActionController::HttpAuthentication::Basic::ControllerMethods |
| In: |
actionpack/lib/action_controller/http_authentication.rb
|
# File actionpack/lib/action_controller/http_authentication.rb, line 82 def authenticate_or_request_with_http_basic(realm = "Application", &login_procedure) authenticate_with_http_basic(&login_procedure) || request_http_basic_authentication(realm) end
# File actionpack/lib/action_controller/http_authentication.rb, line 86 def authenticate_with_http_basic(&login_procedure) HttpAuthentication::Basic.authenticate(self, &login_procedure) end