[Plugin: OAuth Provider] Request tokens / auth process
-
I’ve been trying to use this plugin, and have become familiar with the individual functions. I understand the concept of OAuth, but I’m still struggling with the basic code I need to generate a link to get a request token & authorize the user.
I came up with the following but it’s not working:
$request = new OP_OAuthRequest( $signature_method = new OP_OAuthSignatureMethod_HMAC_SHA1(), $consumer = new OP_OAuthConsumer('wKfJ4Hdy', '9aKBePAOqZJr2J1T'), $token = null );
How do I request token and authorize the user so I can use the oauth functions like sayHello? That pattern makes sense but I’m stuck on the auth process.
Thanks for your help
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Plugin: OAuth Provider] Request tokens / auth process’ is closed to new replies.