proxy_basic_auth

proxy_basic_auth(req, res, realm)
Instance Public methods

Simple wrapper for providing basic authentication for a proxied request. When called with a request req, response res, authentication realm and block the block will be called with a username and password. If the block returns true the request is allowed to continue, otherwise an HTTPStatus::ProxyAuthenticationRequired error is raised.

doc_ruby_on_rails
2015-06-11 18:33:46
Comments
Leave a Comment

Please login to continue.