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