Skip to main content

TdxCloudStorageOAuth2Provider Class

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

Declaration

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