instance method
user_name_and_password
Ruby on Rails 3.0.20
Since v2.2.3Signature
user_name_and_password(request)
No documentation comment.
Parameters
-
requestreq
Source
# File actionpack/lib/action_controller/metal/http_authentication.rb, line 132
def user_name_and_password(request)
decode_credentials(request).split(/:/, 2)
end
Defined in actionpack/lib/action_controller/metal/http_authentication.rb line 132
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::HttpAuthentication::Basic