made the HttpSigning method public to get the signed header. (#18496)

Co-authored-by: Ghufran Zahidi <18732053+Ghufz@users.noreply.github.com>
This commit is contained in:
William Cheng
2024-04-25 16:08:57 +08:00
committed by GitHub
parent a00549cd65
commit a5d463d90f
9 changed files with 9 additions and 9 deletions

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