Codebase list ruby-omniauth-facebook / 093d550
consistent digest instantiation Mark Dodwell 10 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
244244 end
245245
246246 def appsecret_proof
247 @appsecret_proof ||= OpenSSL::HMAC.hexdigest(OpenSSL::Digest.new('sha256'), client.secret, access_token.token)
247 @appsecret_proof ||= OpenSSL::HMAC.hexdigest(OpenSSL::Digest::SHA256.new, client.secret, access_token.token)
248248 end
249249 end
250250 end