module Doorkeeper

def authenticate(request, methods = Doorkeeper.config.access_token_methods)

def authenticate(request, methods = Doorkeeper.config.access_token_methods)
  OAuth::Token.authenticate(request, *methods)
end