vcl-cxschedulerwebservicestorage-dot-tcxschedulerwebservicestoragecustomprovider-82d6f928.md
Associates the online event data provider with the corresponding authorization agent component.
property AuthorizationAgent: TdxCustomAuthorizationAgent read; write;
| Type |
|---|
| TdxCustomAuthorizationAgent |
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.
See Also
TcxSchedulerWebServiceStorageGoogleProvider.AuthorizationAgent
TcxSchedulerWebServiceStorageOAuth2CustomProvider.AuthorizationAgent
TcxSchedulerWebServiceStorageOfficeProvider.AuthorizationAgent
TcxSchedulerWebServiceStorageCustomProvider Class