Module: Warden::OAuth

Defined in:
lib/warden_oauth.rb,
lib/warden_oauth/base.rb,
lib/warden_oauth/utils.rb,
lib/warden_oauth/config.rb,
lib/warden_oauth/errors.rb,
lib/warden_oauth/strategy.rb,
lib/warden_oauth/config_extension.rb,
lib/warden_oauth/strategy_builder.rb

Defined Under Namespace

Modules: ConfigExtension, StrategyBuilder, Utils Classes: AccessTokenFinderMissing, Config, ConfigError, ServiceAlreadyRegistered, Strategy

Class Method Summary collapse

Class Method Details

.access_token_user_finder(key, &block) ⇒ Object



4
5
6
# File 'lib/warden_oauth/base.rb', line 4

def self.access_token_user_finder(key, &block)
  Strategy.access_token_user_finders[key] = block
end

.clear_access_token_user_findersObject



8
9
10
# File 'lib/warden_oauth/base.rb', line 8

def self.clear_access_token_user_finders
  Strategy.access_token_user_finders.clear
end