Yammer.Net Documented Class Library
GenerateSignature Method (url, consumerKey, consumerSecret, token, tokenSecret, httpMethod, timeStamp, nonce, normalizedUrl, normalizedRequestParameters)
NamespacesOAuthOAuthBaseGenerateSignature(Uri, String, String, String, String, String, String, String, String%, String%)
Generates a signature using the HMAC-SHA1 algorithm
Declaration Syntax
C#Visual BasicVisual 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
public:
String^ GenerateSignature(
	Uri^ url, 
	String^ consumerKey, 
	String^ consumerSecret, 
	String^ token, 
	String^ tokenSecret, 
	String^ httpMethod, 
	String^ timeStamp, 
	String^ nonce, 
	[OutAttribute] String^% normalizedUrl, 
	[OutAttribute] String^% normalizedRequestParameters
)
Parameters
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 %)
Return Value
A base64 string of the hash value

Assembly: oAuth (Module: oAuth) Version: 1.0.0.0 (1.0.0.0)