Module ActionController::HttpAuthentication::Basic::ControllerMethods
In: actionpack/lib/action_controller/http_authentication.rb

Methods

Public Instance methods

[Source]

# 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

[Source]

# File actionpack/lib/action_controller/http_authentication.rb, line 86
        def authenticate_with_http_basic(&login_procedure)
          HttpAuthentication::Basic.authenticate(self, &login_procedure)
        end

[Source]

# File actionpack/lib/action_controller/http_authentication.rb, line 90
        def request_http_basic_authentication(realm = "Application")
          HttpAuthentication::Basic.authentication_request(self, realm)
        end

[Validate]