TcxSchedulerWebServiceStorageGoogleProvider.AuthorizationAgent Property
Associates the online event data provider with a Google API-compatible authorization agent.
Declaration
property AuthorizationAgent: TdxGoogleAPIOAuth2AuthorizationAgent read; write;
Property Value
Type |
---|
TdxGoogleAPIOAuth2AuthorizationAgent |
Remarks
Use this property to associate the event data provider with a configured authorization agent component required to authorize the provider in a Google online account and connect the corresponding web service storage resource to the selected calendar. 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 Google 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 TdxGoogleAPIOAuth2AuthorizationAgent 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.