Methods
- authenticate_or_request_with_http_basic
- authenticate_with_http_basic
- request_http_basic_authentication
Public Instance methods
[ show source ]
# File 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
[ show source ]
# File 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
[ show source ]
# File actionpack/lib/action_controller/http_authentication.rb, line 119
119: def request_http_basic_authentication(realm = "Application")
120: HttpAuthentication::Basic.authentication_request(self, realm)
121: end