module ActionController::HttpAuthentication::Basic

def auth_scheme(request)

def auth_scheme(request)
  request.authorization.to_s.split(" ", 2).first
end