Skip to main content

TdxCloudStorageMicrosoftOneDriveProvider.GetScopes Method

Returns the data access permissions that the associated authorization agent requests on a successful connection to a Microsoft account.

Declaration

function GetScopes: TStringList; override;

Returns

Type
TStringList

Remarks

This function supports the internal infrastructure and is not intended for use in your code. The Microsoft OAuth 2.0 authorization agent calls the GetScopes function internally via the IdxOAuth2AuthorizationAgentScopeRequestor interface to request the data access permissions required to work with files in Microsoft OneDrive® storage. The GetScopes function always returns the ‘Files.ReadWrite.All’ resource access scope, indicating that the authorization agent requests full access to files within the cloud storage.

See Also