 | openAuthToolsGenerateSignature Method (Uri, String, String, String, String, String, String, String, openAuthToolsSignatureTypes, String, String) |
Home | imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Generates a signature using the specified signatureType
Namespace:
imbACE.Network.authorization
Assembly:
imbACE.Network (in imbACE.Network.dll) Version: 0.2
Syntaxpublic string GenerateSignature(
Uri url,
string consumerKey,
string consumerSecret,
string token,
string tokenSecret,
string httpMethod,
string timeStamp,
string nonce,
openAuthToolsSignatureTypes signatureType,
out string normalizedUrl,
out string normalizedRequestParameters
)
Request Example
View SourceParameters
- url
- Type: SystemUri
The full url that needs to be signed including its non OAuth url parameters - consumerKey
- Type: SystemString
The consumer key - consumerSecret
- Type: SystemString
The consumer seceret - token
- Type: SystemString
The token, if available. If not available pass null or an empty string - tokenSecret
- Type: SystemString
The token secret, if available. If not available pass null or an empty string - httpMethod
- Type: SystemString
The http method used. Must be a valid HTTP method verb (POST,GET,PUT, etc) - timeStamp
- Type: SystemString
- nonce
- Type: SystemString
- signatureType
- Type: imbACE.Network.authorizationopenAuthToolsSignatureTypes
The type of signature to use - normalizedUrl
- Type: SystemString
- normalizedRequestParameters
- Type: SystemString
Return Value
Type:
StringA base64 string of the hash value
See Also