lib/doorkeeper.rb in doorkeeper-5.1.2 vs lib/doorkeeper.rb in doorkeeper-5.2.0.rc1
- old
+ new
@@ -50,10 +50,11 @@
require "doorkeeper/oauth/client"
require "doorkeeper/oauth/token"
require "doorkeeper/oauth/token_introspection"
require "doorkeeper/oauth/invalid_token_response"
require "doorkeeper/oauth/forbidden_token_response"
+require "doorkeeper/oauth/nonstandard"
require "doorkeeper/secret_storing/base"
require "doorkeeper/secret_storing/plain"
require "doorkeeper/secret_storing/sha256_hash"
require "doorkeeper/secret_storing/bcrypt"
@@ -78,9 +79,11 @@
require "doorkeeper/rake"
require "doorkeeper/stale_records_cleaner"
require "doorkeeper/orm/active_record"
+# Main Doorkeeper namespace.
+#
module Doorkeeper
def self.authenticate(request, methods = Doorkeeper.configuration.access_token_methods)
OAuth::Token.authenticate(request, *methods)
end
end