Skip to main content

TdxCloudStorageGoogleDriveProvider.AuthorizationAgent Property

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

Declaration

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