lib/doorkeeper.rb in doorkeeper-1.3.0 vs lib/doorkeeper.rb in doorkeeper-1.3.1

- old
+ new

@@ -52,6 +52,10 @@ end def self.installed? configured? && database_installed? end + + def self.authenticate(request, methods = Doorkeeper.configuration.access_token_methods) + OAuth::Token.authenticate(request, *methods) + end end