Module: OmniAuth
- Defined in:
- lib/omniauth/core.rb,
lib/omniauth/form.rb,
lib/omniauth/test.rb,
lib/omniauth/builder.rb,
lib/omniauth/version.rb,
lib/omniauth/strategy.rb,
lib/omniauth/test/strategy_macros.rb,
lib/omniauth/test/strategy_test_case.rb
Defined Under Namespace
Modules: Strategies, Strategy, Test, Utils, Version
Classes: Builder, Configuration, Form, NoSessionError
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
81
82
83
|
# File 'lib/omniauth/core.rb', line 81
def self.config
Configuration.instance
end
|
85
86
87
|
# File 'lib/omniauth/core.rb', line 85
def self.configure
yield config
end
|
.mock_auth_for(provider) ⇒ Object
89
90
91
|
# File 'lib/omniauth/core.rb', line 89
def self.mock_auth_for(provider)
config.mock_auth[provider.to_sym] || config.mock_auth[:default]
end
|
.strategies ⇒ Object
12
13
14
|
# File 'lib/omniauth/core.rb', line 12
def self.strategies
@@strategies ||= []
end
|