Class: OmniAuth::Strategies::KitOauth2
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::KitOauth2
- Defined in:
- lib/omniauth/strategies/kit_oauth2.rb
Instance Method Summary collapse
Instance Method Details
#authorize_params ⇒ Object
29 30 31 |
# File 'lib/omniauth/strategies/kit_oauth2.rb', line 29 def super.merge(tenant_name: request.params["tenant_name"]) end |
#raw_info ⇒ Object
25 26 27 |
# File 'lib/omniauth/strategies/kit_oauth2.rb', line 25 def raw_info @raw_info ||= access_token.get("#{["client_options"]["api_site"]}/v4/account").parsed end |