Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCloudStorageOAuth2Provider Class

The base class for all classes that implement cloud storage data providers that use the OAuth 2.0 authentication protocol.

#Declaration

Delphi
TdxCloudStorageOAuth2Provider = class abstract(TdxCloudStorageProvider, IdxOAuth2AuthorizationAgentScopeRequestor)

#Remarks

This abstract class does not introduce any new public members, it only implements the core functionality required to work with authorization agents that use the OAuth 2.0 authentication protocol and provides the basic IdxOAuth2AuthorizationAgentScopeRequestor interface implementation. You can create a specific OAuth 2.0-compatible data provider for a cloud storage component by assigning the class name of a direct TdxCloudStorageOAuth2Provider class descendant (TdxCloudStorageGoogleDriveProvider or TdxCloudStorageMicrosoftOneDriveProvider) to the component’s ProviderClassName property. Alternatively, you can assign the corresponding class-reference to the component’s ProviderClass property.

The newly created data provider is accessible via the cloud storage’s Provider property.

Refer to the TdxCloudStorageProvider class description for information on the core functionality that all cloud storage data providers have.

See Also