C# Class LtiLibrary.Core.OAuth.OAuthUtility

显示文件 Open project: andyfmiller/LtiLibrary Class Usage Examples

Public Methods

Method Description
GenerateSignature ( string httpMethod, Uri url, NameValueCollection parametersIn, string consumerSecret ) : string

Generates a signature using the specified signatureType

Private Methods

Method Description
GenerateSignatureBase ( string httpMethod, Uri url, NameValueCollection parameters ) : string

Generate the signature base that is used to produce the signature

Method Details

GenerateSignature() public static method

Generates a signature using the specified signatureType
public static GenerateSignature ( string httpMethod, Uri url, NameValueCollection parametersIn, string consumerSecret ) : string
httpMethod string The http method used
url System.Uri The full url to be signed
parametersIn System.Collections.Specialized.NameValueCollection The collection of parameters to sign
consumerSecret string The OAuth consumer secret used to generate the signature
return string