C# 클래스 Sage_One_Authorisation_Client.SageOneAPIRequestSigner

파일 보기 프로젝트 열기: Sage/sageone_api_csharp_sample 1 사용 예제들

공개 메소드들

메소드 설명
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