Skip to main content

TdxCloudStorageProvider.AuthorizationAgent Property

Associates the cloud storage data provider with the corresponding authorization agent component.

Declaration

property AuthorizationAgent: TdxCustomAuthorizationAgent read; write;

Property Value

Type
TdxCustomAuthorizationAgent

Remarks

Use this property to connect the cloud storage data provider with a configured authorization agent component corresponding to the actual TdxCloudStorageProvider class descendant.

To access all class members that the actual authorization agent provides, cast the AuthorizationAgent property value to the corresponding component class (TdxMicrosoftGraphAPIOAuth2AuthorizationAgent in the case of a Microsoft OneDrive storage data provider, for instance).

Note

No cloud storage data provider can connect to an online account without a properly configured authorization agent.

The default AuthorizationAgent property value is nil.

See Also