Class: OmniAuth::Strategies::WindowsLive
- Inherits:
-
Object
- Object
- OmniAuth::Strategies::WindowsLive
- Includes:
- OmniAuth::Strategy
- Defined in:
- lib/omniauth/strategies/windows_live.rb,
lib/omniauth/strategies/windows_live/windowslivelogin.rb
Defined Under Namespace
Classes: WindowsLiveLogin
Instance Attribute Summary collapse
-
#app_id ⇒ Object
Returns the value of attribute app_id.
-
#app_secret ⇒ Object
Returns the value of attribute app_secret.
Instance Method Summary collapse
-
#initialize(app, app_id = nil, app_secret = nil, options = {}) ⇒ WindowsLive
constructor
Initialize the strategy by providing.
Constructor Details
#initialize(app, app_id = nil, app_secret = nil, options = {}) ⇒ WindowsLive
Initialize the strategy by providing
19 20 21 22 23 24 25 26 |
# File 'lib/omniauth/strategies/windows_live.rb', line 19 def initialize(app, app_id = nil, app_secret = nil, = {}) self.app_id = app_id self.app_secret = app_secret super(app, :windows_live, app_id, app_secret, ) [:ssl] ||= true [:locale] ||= 'en-us' [:force_nonprovisioned] = true unless app_id end |
Instance Attribute Details
#app_id ⇒ Object
Returns the value of attribute app_id.
9 10 11 |
# File 'lib/omniauth/strategies/windows_live.rb', line 9 def app_id @app_id end |
#app_secret ⇒ Object
Returns the value of attribute app_secret.
9 10 11 |
# File 'lib/omniauth/strategies/windows_live.rb', line 9 def app_secret @app_secret end |