Class: OmniAuth::Strategies::AllScripts
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::AllScripts
- Defined in:
- lib/omniauth/strategies/allscripts.rb
Instance Method Summary collapse
Instance Method Details
#access_token ⇒ Object
30 31 32 33 34 35 |
# File 'lib/omniauth/strategies/allscripts.rb', line 30 def access_token ::OAuth2::AccessToken.new(client, oauth2_access_token.token, { :expires_in => oauth2_access_token.expires_in, :expires_at => oauth2_access_token.expires_at }) end |
#callback_url ⇒ Object
24 25 26 |
# File 'lib/omniauth/strategies/allscripts.rb', line 24 def callback_url full_host + script_name + callback_path end |
#oauth2_access_token ⇒ Object
28 |
# File 'lib/omniauth/strategies/allscripts.rb', line 28 alias :oauth2_access_token :access_token |