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 80 80: def authenticate_or_request_with_http_basic(realm = "Application", &login_procedure) 81: authenticate_with_http_basic(&login_procedure) || request_http_basic_authentication(realm) 82: end
# File vendor/rails/actionpack/lib/action_controller/http_authentication.rb, line 84 84: def authenticate_with_http_basic(&login_procedure) 85: HttpAuthentication::Basic.authenticate(self, &login_procedure) 86: end