class Doorkeeper::OAuth::Authorization::URIBuilder

def uri_with_fragment(url, parameters = {})

def uri_with_fragment(url, parameters = {})
  uri = URI.parse(url)
  uri.fragment = build_query(parameters)
  uri.to_s
end