cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
408
Views
0
Helpful
1
Replies

Generate OAuth 1.0 nonce & signature - set value

jc12
Beginner
Beginner

Looking to create OAuth nonce and signature dynamically for OAuth 1.0 verification.  I was thinking this could be accomplished in using the set value element and some java code, but I'm not sure what packages would need to be imported to accomplish this. 

 

For the set value element I was going to create 3 variables (timestamp, nonce, signature) and then in the authentication header place the local variables in the correct places. For example if I wanted to generate epoch time I was going to do the following;

importPackage(com.audium.server.cvpUtil);
timestamp=new Date().getTime() /1000;
timestamp;

 

From for the nonce and signature do I need to import other packages or am I going about this the wrong way?

 

Any guidance on this would be great!

 

1 Reply 1

piyush aghera
Enthusiast
Enthusiast

Hi jc12,

Did you get any solution as to how this can be accomplished and what modules to be imported for oauth-1.0a ?

 

Thanks.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: