API:Data.Cloud.AmazonAPI.TAmazonAuthentication.BuildAuthorizationString
Delphi
function BuildAuthorizationString(const StringToSign: string): string; override;
C++
virtual System::UnicodeString __fastcall BuildAuthorizationString(const System::UnicodeString StringToSign);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Data.Cloud.AmazonAPI.pas Data.Cloud.AmazonAPI.hpp |
Data.Cloud.AmazonAPI | TAmazonAuthentication |
Description
Builds the string to use as the value of the Authorization header of requests.
Data.Cloud.AmazonAPI.TAmazonAuthentication.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.