Skip to main content

TcxSchedulerWebServiceStorageOfficeProvider.AuthorizationAgent Property

Associates the online event 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 event data provider with a configured authorization agent component required to authorize the provider in a Microsoft online account and connect the corresponding web service storage resource to the selected calendar via the Microsoft Graph® API. Then, you can set the Connected property to True to attempt 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. Set up the account authentication credentials by using the AuthorizationAgent.ClientID and AuthorizationAgent.ClientSecret properties. Then, call the AuthorizationAgent.StartAuthorization procedure to attempt to connect the event data provider to the account. Refer to the TdxMicrosoftGraphAPIOAuth2AuthorizationAgent component description for detailed information on account authorization and access settings.

Note

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

The default AuthorizationAgent property value is nil.

See Also