TcxSchedulerWebServiceStorageCustomProvider.AuthorizationAgent Property
Associates the online event data provider with the corresponding authorization agent component.
Declaration
property AuthorizationAgent: TdxCustomAuthorizationAgent read; write;
Property Value
Type |
---|
TdxCustomAuthorizationAgent |
Remarks
Use this property to associate the event data provider with a configured authorization agent component corresponding to the actual TcxSchedulerWebServiceStorageCustomProvider class descendant. Then, you can set the Connected property to True to attempt to connect the provider to an online account with the current authorization agent settings.
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 Calendar event data provider, for instance).
Note
No event data provider can connect to an online account without a properly configured authorization agent.
The default AuthorizationAgent property value is nil.