method

extract_authentication

rails latest stable - Class: ActionDispatch::Routing::RouteSet

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.1.8) is shown here.

extract_authentication(options)
private

No documentation available.

# File actionpack/lib/action_dispatch/routing/route_set.rb, line 723
        def extract_authentication(options)
          if options[:user] && options[:password]
            [options.delete(:user), options.delete(:password)]
          else
            nil
          end
        end