Generates a signature using the specified signatureType

C# | Visual Basic | Visual C++ |
public string GenerateSignature( Uri url, string consumerKey, string consumerSecret, string token, string tokenSecret, string httpMethod, string timeStamp, string nonce, OAuthBase..::.SignatureTypes signatureType, 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, _ signatureType As OAuthBase..::.SignatureTypes, _ <OutAttribute> ByRef normalizedUrl As String, _ <OutAttribute> ByRef normalizedRequestParameters As String _ ) As String
public: String^ GenerateSignature( Uri^ url, String^ consumerKey, String^ consumerSecret, String^ token, String^ tokenSecret, String^ httpMethod, String^ timeStamp, String^ nonce, OAuthBase..::.SignatureTypes signatureType, [OutAttribute] String^% normalizedUrl, [OutAttribute] String^% normalizedRequestParameters )

- 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)
- signatureType (OAuthBase..::.SignatureTypes)
- The type of signature to use
- normalizedUrl ( String %)
- normalizedRequestParameters ( String %)

A base64 string of the hash value