Class: OmniAuth::Strategies::Protons

Inherits:
OAuth2
  • Object
show all
Defined in:
lib/omniauth/strategies/protons.rb

Overview

Authentication strategy for connecting with APIs constructed using the [OAuth 2.0 Specification](tools.ietf.org/html/draft-ietf-oauth-v2-10). You must generally register your application with the provider and utilize an application id and secret in order to authenticate using OAuth 2.0.

Instance Method Summary collapse

Instance Method Details

#raw_infoObject



41
42
43
# File 'lib/omniauth/strategies/protons.rb', line 41

def raw_info
  @raw_info ||= access_token.get("#{API_DOMAIN}/base/me").parsed
end