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

TdxCloudStorageMicrosoftOneDriveProvider.AuthorizationAgent Property

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

#Declaration

Delphi
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