Generates a signature using the HMAC-SHA1 algorithm

C# | Visual Basic | Visual C++ |
public string GenerateSignature( Uri url, string consumerKey, string consumerSecret, string token, string tokenSecret, string httpMethod, string timeStamp, string nonce, out string normalizedUrl, out string normalizedRequestParameters )
Public Function GenerateSignature ( _ url As Uri, _ consumerKey As String, _ consumerSecret As String, _ token As String, _ tokenSecret As String, _ httpMethod As String, _ timeStamp As String, _ nonce As String, _ <OutAttribute> ByRef normalizedUrl As String, _ <OutAttribute> ByRef normalizedRequestParameters As String _ ) As String

- url (Uri)
- The full url that needs to be signed including its non OAuth url parameters
- consumerKey (String)
- The consumer key
- consumerSecret (String)
- The consumer seceret
- token (String)
- The token, if available. If not available pass null or an empty string
- tokenSecret (String)
- The token secret, if available. If not available pass null or an empty string
- httpMethod (String)
- The http method used. Must be a valid HTTP method verb (POST,GET,PUT, etc)
- timeStamp (String)
- nonce (String)
- normalizedUrl ( String %)
- normalizedRequestParameters ( String %)

A base64 string of the hash value