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

TdxCloudStorageGoogleDriveProvider.AuthorizationAgent Property

Associates the online file data provider with a Goolge API-compatible authorization agent.

#Declaration

Delphi
property AuthorizationAgent: TdxGoogleAPIOAuth2AuthorizationAgent read; write;

#Property Value

Type
TdxGoogleAPIOAuth2AuthorizationAgent

#Remarks

Use this property to associate the file data provider with a configured authorization agent component required to authenticate and authorize the provider in a Google online account and connect the cloud storage component to the Google Drive file storage service. Then, you can set the component’s Connected property to True to connect to the account with the current authorization agent settings.

Alternatively, you can use the AuthorizationAgent property to assign and configure a Google API-compatible authorization agent. Assign account credentials to the AuthorizationAgent.ClientID and AuthorizationAgent.ClientSecret properties. Then, call the AuthorizationAgent.StartAuthorization procedure to connect the data provider to Google Drive. Refer to the TdxGoogleAPIOAuth2AuthorizationAgent component description for detailed information on all account authorization and access settings and techniques.

Note

The online file data provider is not functional without a properly configured authorization agent.

The default AuthorizationAgent property value is nil.

See Also