Sha256: 4a21bf0d6142118b55eb61d4e778779b166dce1aef684850139e4426d2362223

Contents?: true

Size: 659 Bytes

Versions: 27

Compression:

Stored size: 659 Bytes

Contents

module Devise
  module Oauth2Providable
    class Engine < Rails::Engine
      config.devise_oauth2_providable = ActiveSupport::OrderedOptions.new
      config.devise_oauth2_providable.access_token_expires_in       = 15.minutes
      config.devise_oauth2_providable.refresh_token_expires_in      = 1.month
      config.devise_oauth2_providable.authorization_code_expires_in = 1.minute

      engine_name 'oauth2'
      isolate_namespace Devise::Oauth2Providable
      initializer "devise_oauth2_providable.initialize_application", :before=> :load_config_initializers do |app|
        app.config.filter_parameters << :client_secret
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 6 rubygems

Version Path
brycesch-devise_oauth2_providable-1.2.8 lib/devise/oauth2_providable/engine.rb
brycesch-devise_oauth2_providable-1.2.7 lib/devise/oauth2_providable/engine.rb
brycesch-devise_oauth2_providable-1.2.6 lib/devise/oauth2_providable/engine.rb
brycesch-devise_oauth2_providable-1.2.5 lib/devise/oauth2_providable/engine.rb
brycesch-devise_oauth2_providable-1.2.4 lib/devise/oauth2_providable/engine.rb
brycesch-devise_oauth2_providable-1.2.3 lib/devise/oauth2_providable/engine.rb
brycesch-devise_oauth2_providable-1.2.2 lib/devise/oauth2_providable/engine.rb
brycesch-devise_oauth2_providable-1.2.1 lib/devise/oauth2_providable/engine.rb
brycesch-devise_oauth2_providable-1.2.0 lib/devise/oauth2_providable/engine.rb
brycesch-devise_oauth2_providable-1.1.7 lib/devise/oauth2_providable/engine.rb
devise_oauth2_rails4-1.1.2 lib/devise/oauth2_providable/engine.rb
mustwin_devise_oauth2_providable-1.1.6 lib/devise/oauth2_providable/engine.rb
mustwin_devise_oauth2_providable-1.1.5 lib/devise/oauth2_providable/engine.rb
mustwin_devise_oauth2_providable-1.1.4 lib/devise/oauth2_providable/engine.rb
mustwin_devise_oauth2_providable-1.1.3 lib/devise/oauth2_providable/engine.rb
insrc_devise_oauth2_providable-1.1.2 lib/devise/oauth2_providable/engine.rb
devise_oauth2_providable-1.1.2 lib/devise/oauth2_providable/engine.rb
anjlab-devise-oauth2-providable-1.1.3 lib/devise/oauth2_providable/engine.rb
devise_oauth2_providable-1.1.1 lib/devise/oauth2_providable/engine.rb
anjlab-devise-oauth2-providable-1.1.2 lib/devise/oauth2_providable/engine.rb