Skip to main content

TdxCloudStorageOAuth2Provider.GetScopes Method

Returns the list of online account visibility scopes (that is, account data access permissions) that the data provider requests on a successful connection.

Declaration

function GetScopes: TStringList; virtual;

Returns

Type
TStringList

Remarks

The authorization agent associated with the OAuth 2.0-compatible data provider calls the GetScopes function internally via the IdxOAuth2AuthorizationAgentScopeRequestor interface to request all data access permissions required to access and manage files in a connected online storage service.

Each TdxCloudStorageOAuth2Provider class descendant implements its GetScopes function, so it returns a list of data access permission strings specific to a particular account type.

See Also