PHP Classes

Signature Method

Recommend this page to a friend!

      PHP OAuth Library  >  All threads  >  Signature Method  >  (Un) Subscribe thread alerts  
Subject:Signature Method
Summary:Need help understanding how to implement the signature method
Messages:2
Author:Josh strock
Date:2013-08-30 22:01:11
Update:2013-08-31 03:16:41
 

  1. Signature Method   Reply   Report abuse  
Picture of Josh strock Josh strock - 2013-08-30 22:01:11
I have to interface with my companies WMS server and it uses oauth. I understand how the oauth signature is supposed to be generated but have spent the last 2 weeks trying to make it work in javascript and I can't so I am trying this package in PHP.

how can I generate a signature using this package? the examples i saw in the zip are all token based (the WMS i'm trying to hit doesn't use the token, it's just all the oauth parameters put into the url).

  2. Re: Signature Method   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2013-08-31 03:16:41 - In reply to message 1 from Josh strock
I assume that is using OAuth 1.0a.

The class supports either OAuth 1.0, 1.0a and OAuth 2.0.

For OAuth servers with built-in support in the class, you need to set some variables manually like oauth_version, request_token_url, dialog_url and access_token_url .

Please check the class documentation to understand what to put in those variables and let me know if you have doubts.