Class: OmniAuth::Strategies::FamilySearchIdentity

Inherits:
OAuth
  • Object
show all
Defined in:
lib/omniauth/strategies/familysearch_identity.rb

Instance Method Summary collapse

Instance Method Details

#authorize_paramsObject



26
27
28
# File 'lib/omniauth/strategies/familysearch_identity.rb', line 26

def authorize_params
	super
end

#raw_infoObject



51
52
53
54
55
56
# File 'lib/omniauth/strategies/familysearch_identity.rb', line 51

def raw_info
	request = "/identity/v2/user?sessionId=#{access_token.token}&dataFormat=application/json"
	@raw_info ||= MultiJson.decode(access_token.get(request).body)
rescue ::Errno::ETIMEDOUT
	raise ::Timeout::Error
end

#request_phaseObject



22
23
24
# File 'lib/omniauth/strategies/familysearch_identity.rb', line 22

def request_phase
	super
end