Data.Cloud.CloudAPI.TCloudAuthentication.BuildAuthorizationString

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function BuildAuthorizationString(const StringToSign: string): string; virtual;

C++

virtual System::UnicodeString __fastcall BuildAuthorizationString(const System::UnicodeString StringToSign);

Properties

Type Visibility Source Unit Parent
function public
Data.Cloud.CloudAPI.pas
Data.Cloud.CloudAPI.hpp
Data.Cloud.CloudAPI TCloudAuthentication

Description

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.

See Also