Class: OmniAuth::Strategies::Htc
- Inherits:
-
Object
- Object
- OmniAuth::Strategies::Htc
- Includes:
- OmniAuth::Strategy
- Defined in:
- lib/omniauth/strategies/htc.rb
Instance Attribute Summary collapse
-
#access_token ⇒ Object
Returns the value of attribute access_token.
-
#expires_in ⇒ Object
Returns the value of attribute expires_in.
Instance Method Summary collapse
Instance Attribute Details
#access_token ⇒ Object
Returns the value of attribute access_token.
23 24 25 |
# File 'lib/omniauth/strategies/htc.rb', line 23 def access_token @access_token end |
#expires_in ⇒ Object
Returns the value of attribute expires_in.
23 24 25 |
# File 'lib/omniauth/strategies/htc.rb', line 23 def expires_in @expires_in end |
Instance Method Details
#callback_phase ⇒ Object
46 47 48 49 |
# File 'lib/omniauth/strategies/htc.rb', line 46 def callback_phase fetch_access_token request.params["code"] super end |
#request_phase ⇒ Object
42 43 44 |
# File 'lib/omniauth/strategies/htc.rb', line 42 def request_phase redirect sso_auth_uri.to_s end |