Sha256: 07055bad920170f1fcc74a788661f906e6420174858b73a6ddb93940a0aa4e95

Contents?: true

Size: 462 Bytes

Versions: 7

Compression:

Stored size: 462 Bytes

Contents

module Devise::Oauth
  class Engine < ::Rails::Engine

    NAME = "oauth"

    def table_name_prefix
      NAME
    end

    def self.generate_railtie_name(mod)
      NAME
    end

    engine_name NAME

    isolate_namespace Devise::Oauth

    initializer "devise_oauth.initialize_application", before: :load_config_initializers do |app|
      app.config.filter_parameters << :client_secret
      app.config.filter_parameters << :refresh_token
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
devise_oauth-3.0.3 lib/devise/oauth/engine.rb
devise_oauth-3.0.2 lib/devise/oauth/engine.rb
devise_oauth-3.0.1 lib/devise/oauth/engine.rb
devise_oauth-3.0.0 lib/devise/oauth/engine.rb
devise_oauth-2.0.3 lib/devise/oauth/engine.rb
devise_oauth-2.0.2 lib/devise/oauth/engine.rb
devise_oauth-2.0.1 lib/devise/oauth/engine.rb