C# Класс Sage_One_Authorisation_Client.SageOneAPIRequestSigner

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GenerateSignature ( string httpMethod, Uri url, string>.List requestBody, string signingSecret, string token, string nonce ) : string

Generates the signature from all the parameters passed in

Приватные методы

Метод Описание
GenerateHmac ( string signingKey, string baseString ) : string

Generates a hash based message authentication code based on the signing key and the entire message that has been parameterised and escaped

NormalizeParams ( string httpMethod, Uri url, string>.List requestBody ) : string

Creates a string that represents the HTTP method, the URL and the request body

Описание методов

GenerateSignature() публичный статический Метод

Generates the signature from all the parameters passed in
public static GenerateSignature ( string httpMethod, Uri url, string>.List requestBody, string signingSecret, string token, string nonce ) : string
httpMethod string The HTTP method
url System.Uri The URL
requestBody string>.List The request message body (this will be null on a GET or DELETE)
signingSecret string
token string
nonce string The nonce
Результат string