Data.Cloud.CloudAPI.TCloudAuthentication.BuildAuthorizationString

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Data.Cloud.CloudAPI.pas
Data.Cloud.CloudAPI.hpp
Unit: Data.Cloud.CloudAPI
Parent: TCloudAuthentication

Delphi

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

C++

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

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