I'm guessing this ddo library could still work even though it hasn't been updated in 4 years: https://github.com/ddo/oauth-1.0a.