method
extract_authentication
v3.2.13 -
Show latest stable
- Class:
ActionDispatch::Routing::RouteSet
extract_authentication(options)private
No documentation available.
# File actionpack/lib/action_dispatch/routing/route_set.rb, line 650
def extract_authentication(options)
if options[:user] && options[:password]
[options.delete(:user), options.delete(:password)]
else
nil
end
end