Question
· Jun 15, 2016

Oauth 1.0 library

I am in need of a routine or class method to generate an Oauth 1.0 signature.  I was about to code this myself, but thought to check first to see if anyone has already done this and is willing to share.

Thanks in advance for any help.

[UPDATE  06/28/2016]

As there appears to not be a readily available solution I created a class to provide Oauth 1.0 authentication.  This class is attached in a zip file.  Methods are provided that generate a signature for a given URL request based on a consumer key and consumer secret.  Note that the only tested use case is in the last leg authentication to an application using Oauth 1.0.   That is it does not support the workflow to request access to the application (see http://commandlinefanatic.com/cgi-bin/showarticle.cgi?article=art014 for a discussion on Oauth 1)

oauth1-utilities_0.zip

Rich Taylor

Discussion (3)2
Log in or sign up to continue

I landed in your post a bit late. A case was submitted to me recently using OAUTH 1.0 with hmacsha256 and I could have used your solution pretty quickly. I opted for a python embedded method using oauthlib.

Anyway, great work!

Some utility class was missing from your submitted code (SungardK12.Utilities) but nothing we can't figure out.