class Doorkeeper::OAuth::Token

def from_request(request, *methods)

def from_request(request, *methods)
  methods.inject(nil) do |_, method|
    method = self.method(method) if method.is_a?(Symbol)
    credentials = method.call(request)
    break credentials if credentials.present?
  end
end