lib/generators/doorkeeper/install_generator.rb
class Doorkeeper::InstallGenerator < ::Rails::Generators::Base include Rails::Generators::Migration source_root File.expand_path('../templates', __FILE__) desc "Installs Doorkeeper." def install template "initializer.rb", "config/initializers/doorkeeper.rb" copy_file "../../../../config/locales/en.yml", "config/locales/doorkeeper.en.yml" route "use_doorkeeper" readme "README" end end
Source Files
- app/controllers/doorkeeper/application_controller.rb
- app/controllers/doorkeeper/applications_controller.rb
- app/controllers/doorkeeper/authorizations_controller.rb
- app/controllers/doorkeeper/authorized_applications_controller.rb
- app/controllers/doorkeeper/token_info_controller.rb
- app/controllers/doorkeeper/tokens_controller.rb
- app/helpers/doorkeeper/form_errors_helper.rb
- app/validators/redirect_uri_validator.rb
- lib/doorkeeper.rb
- lib/doorkeeper/config.rb
- lib/doorkeeper/doorkeeper_for.rb
- lib/doorkeeper/engine.rb
- lib/doorkeeper/errors.rb
- lib/doorkeeper/helpers/controller.rb
- lib/doorkeeper/helpers/filter.rb
- lib/doorkeeper/models/access_grant.rb
- lib/doorkeeper/models/access_token.rb
- lib/doorkeeper/models/accessible.rb
- lib/doorkeeper/models/active_record/access_grant.rb
- lib/doorkeeper/models/active_record/access_token.rb
- lib/doorkeeper/models/active_record/application.rb
- lib/doorkeeper/models/application.rb
- lib/doorkeeper/models/expirable.rb
- lib/doorkeeper/models/mongo_mapper/access_grant.rb
- lib/doorkeeper/models/mongo_mapper/access_token.rb
- lib/doorkeeper/models/mongo_mapper/application.rb
- lib/doorkeeper/models/mongo_mapper/revocable.rb
- lib/doorkeeper/models/mongoid/revocable.rb
- lib/doorkeeper/models/mongoid/scopes.rb
- lib/doorkeeper/models/mongoid/version.rb
- lib/doorkeeper/models/mongoid2/access_grant.rb
- lib/doorkeeper/models/mongoid2/access_token.rb
- lib/doorkeeper/models/mongoid2/application.rb
- lib/doorkeeper/models/mongoid3_4/access_grant.rb
- lib/doorkeeper/models/mongoid3_4/access_token.rb
- lib/doorkeeper/models/mongoid3_4/application.rb
- lib/doorkeeper/models/ownership.rb
- lib/doorkeeper/models/revocable.rb
- lib/doorkeeper/models/scopes.rb
- lib/doorkeeper/oauth/authorization/code.rb
- lib/doorkeeper/oauth/authorization/token.rb
- lib/doorkeeper/oauth/authorization/uri_builder.rb
- lib/doorkeeper/oauth/authorization_code_request.rb
- lib/doorkeeper/oauth/client.rb
- lib/doorkeeper/oauth/client/credentials.rb
- lib/doorkeeper/oauth/client/methods.rb
- lib/doorkeeper/oauth/client_credentials/creator.rb
- lib/doorkeeper/oauth/client_credentials/issuer.rb
- lib/doorkeeper/oauth/client_credentials/validation.rb
- lib/doorkeeper/oauth/client_credentials_request.rb
- lib/doorkeeper/oauth/code_request.rb
- lib/doorkeeper/oauth/code_response.rb
- lib/doorkeeper/oauth/error.rb
- lib/doorkeeper/oauth/error_response.rb
- lib/doorkeeper/oauth/helpers/scope_checker.rb
- lib/doorkeeper/oauth/helpers/unique_token.rb
- lib/doorkeeper/oauth/helpers/uri_checker.rb
- lib/doorkeeper/oauth/invalid_token_response.rb
- lib/doorkeeper/oauth/password_access_token_request.rb
- lib/doorkeeper/oauth/pre_authorization.rb
- lib/doorkeeper/oauth/refresh_token_request.rb
- lib/doorkeeper/oauth/scopes.rb
- lib/doorkeeper/oauth/token.rb
- lib/doorkeeper/oauth/token_request.rb
- lib/doorkeeper/oauth/token_response.rb
- lib/doorkeeper/rails/routes.rb
- lib/doorkeeper/rails/routes/mapper.rb
- lib/doorkeeper/rails/routes/mapping.rb
- lib/doorkeeper/request.rb
- lib/doorkeeper/request/authorization_code.rb
- lib/doorkeeper/request/client_credentials.rb
- lib/doorkeeper/request/code.rb
- lib/doorkeeper/request/password.rb
- lib/doorkeeper/request/refresh_token.rb
- lib/doorkeeper/request/token.rb
- lib/doorkeeper/server.rb
- lib/doorkeeper/validations.rb
- lib/doorkeeper/version.rb
- lib/generators/doorkeeper/application_owner_generator.rb
- lib/generators/doorkeeper/install_generator.rb
- lib/generators/doorkeeper/migration_generator.rb
- lib/generators/doorkeeper/mongo_mapper/indexes_generator.rb
- lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb
- lib/generators/doorkeeper/templates/indexes.rb
- lib/generators/doorkeeper/templates/initializer.rb
- lib/generators/doorkeeper/templates/migration.rb
- lib/generators/doorkeeper/views_generator.rb