lib/doorkeeper.rb in doorkeeper-5.2.6 vs lib/doorkeeper.rb in doorkeeper-5.3.0

- old
+ new

@@ -36,14 +36,13 @@ require "doorkeeper/oauth/base_request" require "doorkeeper/oauth/authorization_code_request" require "doorkeeper/oauth/refresh_token_request" require "doorkeeper/oauth/password_access_token_request" -require "doorkeeper/oauth/client_credentials/validation" +require "doorkeeper/oauth/client_credentials/validator" require "doorkeeper/oauth/client_credentials/creator" require "doorkeeper/oauth/client_credentials/issuer" -require "doorkeeper/oauth/client_credentials/validation" require "doorkeeper/oauth/client/credentials" require "doorkeeper/oauth/client_credentials_request" require "doorkeeper/oauth/code_request" require "doorkeeper/oauth/token_request" @@ -83,9 +82,9 @@ require "doorkeeper/orm/active_record" # Main Doorkeeper namespace. # module Doorkeeper - def self.authenticate(request, methods = Doorkeeper.configuration.access_token_methods) + def self.authenticate(request, methods = Doorkeeper.config.access_token_methods) OAuth::Token.authenticate(request, *methods) end end