Class: OmniAuth::Strategies::Devpost
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Devpost
- Defined in:
- lib/omniauth/strategies/devpost.rb
Constant Summary collapse
- DEFAULT_SCOPE =
"user"- OMNIAUTH_PROVIDER_SITE =
ENV.fetch('OMNIAUTH_PROVIDER_SITE') { 'https://api.devpost.com' }
- OMNIAUTH_AUTHORIZE_URL =
ENV.fetch('OMNIAUTH_AUTHORIZE_URL') { 'https://oauth.devpost.com/oauth/authorize' }
- OMNIAUTH_TOKEN_URL =
ENV.fetch('OMNIAUTH_TOKEN_URL') { 'https://oauth.devpost.com/oauth/token' }
Instance Method Summary collapse
Instance Method Details
#raw_info ⇒ Object
42 43 44 |
# File 'lib/omniauth/strategies/devpost.rb', line 42 def raw_info @raw_info ||= raw_credentials_json["user"] end |