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