lib/generators/doorkeeper/application_owner_generator.rb
require 'rails/generators/active_record' class Doorkeeper::ApplicationOwnerGenerator < Rails::Generators::Base include Rails::Generators::Migration source_root File.expand_path('../templates', __FILE__) desc 'Provide support for client application ownership.' def application_owner migration_template( 'add_owner_to_application_migration.rb', 'db/migrate/add_owner_to_application.rb' ) end def self.next_migration_number(dirname) ActiveRecord::Generators::Base.next_migration_number(dirname) end end
Source Files
- app/controllers/doorkeeper/application_controller.rb
- app/controllers/doorkeeper/application_metal_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/dashboard_helper.rb
- app/validators/redirect_uri_validator.rb
- lib/doorkeeper.rb
- lib/doorkeeper/config.rb
- lib/doorkeeper/engine.rb
- lib/doorkeeper/errors.rb
- lib/doorkeeper/generators/doorkeeper/mongo_mapper/indexes_generator.rb
- lib/doorkeeper/generators/doorkeeper/mongo_mapper/templates/indexes.rb
- lib/doorkeeper/helpers/controller.rb
- lib/doorkeeper/models/access_grant_mixin.rb
- lib/doorkeeper/models/access_token_mixin.rb
- lib/doorkeeper/models/application_mixin.rb
- lib/doorkeeper/models/concerns/accessible.rb
- lib/doorkeeper/models/concerns/expirable.rb
- lib/doorkeeper/models/concerns/ownership.rb
- lib/doorkeeper/models/concerns/revocable.rb
- lib/doorkeeper/models/concerns/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/forbidden_token_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/request_concern.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/orm/active_record.rb
- lib/doorkeeper/orm/active_record/access_grant.rb
- lib/doorkeeper/orm/active_record/access_token.rb
- lib/doorkeeper/orm/active_record/application.rb
- lib/doorkeeper/orm/mongo_mapper.rb
- lib/doorkeeper/orm/mongo_mapper/access_grant.rb
- lib/doorkeeper/orm/mongo_mapper/access_token.rb
- lib/doorkeeper/orm/mongo_mapper/application.rb
- lib/doorkeeper/orm/mongoid2.rb
- lib/doorkeeper/orm/mongoid2/access_grant.rb
- lib/doorkeeper/orm/mongoid2/access_token.rb
- lib/doorkeeper/orm/mongoid2/application.rb
- lib/doorkeeper/orm/mongoid2/concerns/scopes.rb
- lib/doorkeeper/orm/mongoid3.rb
- lib/doorkeeper/orm/mongoid3/access_grant.rb
- lib/doorkeeper/orm/mongoid3/access_token.rb
- lib/doorkeeper/orm/mongoid3/application.rb
- lib/doorkeeper/orm/mongoid3/concerns/scopes.rb
- lib/doorkeeper/orm/mongoid4.rb
- lib/doorkeeper/orm/mongoid4/access_grant.rb
- lib/doorkeeper/orm/mongoid4/access_token.rb
- lib/doorkeeper/orm/mongoid4/application.rb
- lib/doorkeeper/orm/mongoid4/concerns/scopes.rb
- lib/doorkeeper/rails/helpers.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/application_scopes_generator.rb
- lib/generators/doorkeeper/install_generator.rb
- lib/generators/doorkeeper/migration_generator.rb
- lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb
- lib/generators/doorkeeper/templates/add_scopes_to_oauth_applications.rb
- lib/generators/doorkeeper/templates/initializer.rb
- lib/generators/doorkeeper/templates/migration.rb
- lib/generators/doorkeeper/views_generator.rb