Skip to main content

TdxCloudStorageMicrosoftOneDriveProvider.AuthorizationAgent Property

Associates the online file data provider with a Microsoft Graph® API-compatible authorization agent.

Declaration

property AuthorizationAgent: TdxMicrosoftGraphAPIOAuth2AuthorizationAgent read; write;

Property Value

Type
TdxMicrosoftGraphAPIOAuth2AuthorizationAgent

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 Microsoft online account and connect the cloud storage component to the Microsoft OneDrive® 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 Microsoft Graph® API-compatible authorization agent. Assign account authentication credentials to the AuthorizationAgent.ClientID and AuthorizationAgent.ClientSecret properties. Then, call the AuthorizationAgent.StartAuthorization procedure to connect the data provider to OneDrive. Refer to the TdxMicrosoftGraphAPIOAuth2AuthorizationAgent 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 AuthorizationAgent property’s default value is nil.

See Also