Class: OmniAuth::Strategies::Camdram

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

Overview

Authenticate to Camdram via OAuth and retrieve basic user information. Usage:

use OmniAuth::Strategies::Camdram, 'app-id-key', 'app-secret-key', :scope => 'user_shows user_orgs', :display => 'plain'

Constant Summary collapse

BASE_URL =
"https://www.camdram.net"

Instance Method Summary collapse

Instance Method Details

#raw_infoObject



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

def raw_info
  @raw_info ||= access_token.get('/auth/account.json').parsed
end