lib/doorkeeper.rb in doorkeeper-0.2.0 vs lib/doorkeeper.rb in doorkeeper-0.3.0
- old
+ new
@@ -4,16 +4,21 @@
module Doorkeeper
autoload :Validations, "doorkeeper/validations"
module OAuth
- class MismatchRedirectURI < StandardError; end
-
- autoload :RandomString, "doorkeeper/oauth/random_string"
autoload :AuthorizationRequest, "doorkeeper/oauth/authorization_request"
autoload :AccessTokenRequest, "doorkeeper/oauth/access_token_request"
+ autoload :Authorization, "doorkeeper/oauth/authorization"
+
+ module Helpers
+ autoload :ScopeChecker, "doorkeeper/oauth/helpers/scope_checker"
+ autoload :URIChecker, "doorkeeper/oauth/helpers/uri_checker"
+ autoload :UniqueToken, "doorkeeper/oauth/helpers/unique_token"
+ end
end
- def self.setup
- yield self
+ module Models
+ autoload :Expirable, "doorkeeper/models/expirable"
+ autoload :Revocable, "doorkeeper/models/revocable"
end
end