Changes between Version 10 and Version 11 of ZooomrAPI/AuthSpec

Show
Ignore:
Author:
kristate (IP: 192.168.10.2)
Timestamp:
07/03/08 21:37:34 (1 year ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ZooomrAPI/AuthSpec

    v10 v11  
    102102Finally, all API calls using an Authentication Token must be signed (please see the section labeled ''Signing Calls''). 
    103103 
     104 
     105== Signing Calls == 
     106 
     107All API calls using an Authentication Token '''must''' be signed. In addition, calls to the zooomr.auth.* methods and any/all redirections to the auth page on Zooomr must also be signed. 
     108 
     109The Signing Algorithm is as follows: 
     110 
     111 * Sort your argument list into alphabetical order based on the parameter key (e.g. ''foo=1, bar=2, baz=3'' '''sorts to''' ''bar=2, baz=3, foo=1'') 
     112 * Concatenate the Shared Secret and argument key-value pairs (e.g. SECRETbar2baz3foo1) 
     113 * Calculate the md5() hash value of this string as a hexidecimal string 
     114 * Append the hash value to the argument list with the name api_sig (e.g. api_sig=d25100ff30af7ad87f5da8a509c4b6a5) 
     115 
     116