Skip to main content
Table of Contents

TTMSFNCCloudOAuth.FetchAccessToken Method

Starts authentication and resolves with the current access token.

API unit family: TMSFNCCloudOAuth Declaring type: TTMSFNCCloudOAuth Inherited from: TTMSFNCCustomCloudOAuth

Syntax

FMX.TMSFNCCloudOAuth.hppPascalC++
function FetchAccessToken: IPromise<string>;
System::DelphiInterface<IPromise__1<System::UnicodeString> > __fastcall FetchAccessToken();

Returns

A promise that resolves to the access token string.