Codebase list ruby-omniauth-facebook / da25a4c
make internal method private Mark Dodwell 10 years ago
1 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
6464 { :params => params }
6565 end
6666
67 def appsecret_proof
68 @appsecret_proof ||= OpenSSL::HMAC.hexdigest(OpenSSL::Digest.new('sha256'), client.secret, access_token.token)
69 end
70
7167 def build_access_token
7268 if signed_request_contains_access_token?
7369 hash = signed_request.clone
246242
247243 url.to_s
248244 end
245
246 def appsecret_proof
247 @appsecret_proof ||= OpenSSL::HMAC.hexdigest(OpenSSL::Digest.new('sha256'), client.secret, access_token.token)
248 end
249249 end
250250 end
251251 end