API:Data.Cloud.AmazonAPI.TAmazonAWS4Authentication.BuildAuthorizationString
Delphi
function BuildAuthorizationString(const StringToSign, DateISO, Region, SignedStrHeaders: string): string; reintroduce; overload;
function BuildAuthorizationString(const StringToSign, DateISO, Region, ServiceName, SignedStrHeaders: string): string; reintroduce; overload;
C++
HIDESBASE System::UnicodeString __fastcall BuildAuthorizationString(const System::UnicodeString StringToSign, const System::UnicodeString DateISO, const System::UnicodeString Region, const System::UnicodeString SignedStrHeaders)/* overload */;
HIDESBASE System::UnicodeString __fastcall BuildAuthorizationString(const System::UnicodeString StringToSign, const System::UnicodeString DateISO, const System::UnicodeString Region, const System::UnicodeString ServiceName, const System::UnicodeString SignedStrHeaders)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Data.Cloud.AmazonAPI.pas Data.Cloud.AmazonAPI.hpp |
Data.Cloud.AmazonAPI | TAmazonAWS4Authentication |
Description
Builds the string to use as the value of the Authorization header of requests.
Data.Cloud.AmazonAPI.TAmazonAWS4Authentication.BuildAuthorizationString inherits from Data.Cloud.CloudAPI.TCloudAuthentication.BuildAuthorizationString. All content below this line refers to Data.Cloud.CloudAPI.TCloudAuthentication.BuildAuthorizationString.
Builds the string to use as the value of the Authorization header of requests.
The StringToSign
passed in is encoded using the FConnectionInfo of this class and the SignString function of the subclass.
The result of BuildAuthorizationString is then combined with the result returned by GetAuthorizationType to build the value string to use with the Authorization header of all the requests to the cloud.
The StringToSign
parameter specifies the string to sign and use in the Authorization header value.