| Module | ActionController::HttpAuthentication::Basic::ControllerMethods |
| In: |
vendor/rails/actionpack/lib/action_controller/http_authentication.rb
|
# File vendor/rails/actionpack/lib/action_controller/http_authentication.rb, line 111
111: def authenticate_or_request_with_http_basic(realm = "Application", &login_procedure)
112: authenticate_with_http_basic(&login_procedure) || request_http_basic_authentication(realm)
113: end
# File vendor/rails/actionpack/lib/action_controller/http_authentication.rb, line 115
115: def authenticate_with_http_basic(&login_procedure)
116: HttpAuthentication::Basic.authenticate(self, &login_procedure)
117: end