made the HttpSigning method public to get the signed header.

This commit is contained in:
Ghufran Zahidi 2024-04-24 16:26:56 +05:30 committed by William Cheng
parent a00549cd65
commit d45b1c8f37
9 changed files with 9 additions and 9 deletions

View File

@ -82,7 +82,7 @@ namespace {{packageName}}.Client
/// <param name="path">Path</param>
/// <param name="requestOptions">Request options</param>
/// <returns>Http signed headers</returns>
internal Dictionary<string, string> GetHttpSignedHeader(string basePath,string method, string path, RequestOptions requestOptions)
public Dictionary<string, string> GetHttpSignedHeader(string basePath,string method, string path, RequestOptions requestOptions)
{
const string HEADER_REQUEST_TARGET = "(request-target)";
//The time when the HTTP signature expires. The API server should reject HTTP requests

View File

@ -90,7 +90,7 @@ namespace Org.OpenAPITools.Client
/// <param name="path">Path</param>
/// <param name="requestOptions">Request options</param>
/// <returns>Http signed headers</returns>
internal Dictionary<string, string> GetHttpSignedHeader(string basePath,string method, string path, RequestOptions requestOptions)
public Dictionary<string, string> GetHttpSignedHeader(string basePath,string method, string path, RequestOptions requestOptions)
{
const string HEADER_REQUEST_TARGET = "(request-target)";
//The time when the HTTP signature expires. The API server should reject HTTP requests

View File

@ -90,7 +90,7 @@ namespace Org.OpenAPITools.Client
/// <param name="path">Path</param>
/// <param name="requestOptions">Request options</param>
/// <returns>Http signed headers</returns>
internal Dictionary<string, string> GetHttpSignedHeader(string basePath,string method, string path, RequestOptions requestOptions)
public Dictionary<string, string> GetHttpSignedHeader(string basePath,string method, string path, RequestOptions requestOptions)
{
const string HEADER_REQUEST_TARGET = "(request-target)";
//The time when the HTTP signature expires. The API server should reject HTTP requests

View File

@ -90,7 +90,7 @@ namespace Org.OpenAPITools.Client
/// <param name="path">Path</param>
/// <param name="requestOptions">Request options</param>
/// <returns>Http signed headers</returns>
internal Dictionary<string, string> GetHttpSignedHeader(string basePath,string method, string path, RequestOptions requestOptions)
public Dictionary<string, string> GetHttpSignedHeader(string basePath,string method, string path, RequestOptions requestOptions)
{
const string HEADER_REQUEST_TARGET = "(request-target)";
//The time when the HTTP signature expires. The API server should reject HTTP requests

View File

@ -90,7 +90,7 @@ namespace Org.OpenAPITools.Client
/// <param name="path">Path</param>
/// <param name="requestOptions">Request options</param>
/// <returns>Http signed headers</returns>
internal Dictionary<string, string> GetHttpSignedHeader(string basePath,string method, string path, RequestOptions requestOptions)
public Dictionary<string, string> GetHttpSignedHeader(string basePath,string method, string path, RequestOptions requestOptions)
{
const string HEADER_REQUEST_TARGET = "(request-target)";
//The time when the HTTP signature expires. The API server should reject HTTP requests

View File

@ -90,7 +90,7 @@ namespace Org.OpenAPITools.Client
/// <param name="path">Path</param>
/// <param name="requestOptions">Request options</param>
/// <returns>Http signed headers</returns>
internal Dictionary<string, string> GetHttpSignedHeader(string basePath,string method, string path, RequestOptions requestOptions)
public Dictionary<string, string> GetHttpSignedHeader(string basePath,string method, string path, RequestOptions requestOptions)
{
const string HEADER_REQUEST_TARGET = "(request-target)";
//The time when the HTTP signature expires. The API server should reject HTTP requests

View File

@ -90,7 +90,7 @@ namespace Org.OpenAPITools.Client
/// <param name="path">Path</param>
/// <param name="requestOptions">Request options</param>
/// <returns>Http signed headers</returns>
internal Dictionary<string, string> GetHttpSignedHeader(string basePath,string method, string path, RequestOptions requestOptions)
public Dictionary<string, string> GetHttpSignedHeader(string basePath,string method, string path, RequestOptions requestOptions)
{
const string HEADER_REQUEST_TARGET = "(request-target)";
//The time when the HTTP signature expires. The API server should reject HTTP requests

View File

@ -90,7 +90,7 @@ namespace Org.OpenAPITools.Client
/// <param name="path">Path</param>
/// <param name="requestOptions">Request options</param>
/// <returns>Http signed headers</returns>
internal Dictionary<string, string> GetHttpSignedHeader(string basePath,string method, string path, RequestOptions requestOptions)
public Dictionary<string, string> GetHttpSignedHeader(string basePath,string method, string path, RequestOptions requestOptions)
{
const string HEADER_REQUEST_TARGET = "(request-target)";
//The time when the HTTP signature expires. The API server should reject HTTP requests

View File

@ -90,7 +90,7 @@ namespace Org.OpenAPITools.Client
/// <param name="path">Path</param>
/// <param name="requestOptions">Request options</param>
/// <returns>Http signed headers</returns>
internal Dictionary<string, string> GetHttpSignedHeader(string basePath,string method, string path, RequestOptions requestOptions)
public Dictionary<string, string> GetHttpSignedHeader(string basePath,string method, string path, RequestOptions requestOptions)
{
const string HEADER_REQUEST_TARGET = "(request-target)";
//The time when the HTTP signature expires. The API server should reject HTTP requests