Skip to main content

TcxSchedulerWebServiceStorageOAuth2CustomProvider.AuthorizationAgent Property

Associates the online event data provider with the corresponding authorization agent component that supports the OAuth 2.0 authentication protocol.

Declaration

property AuthorizationAgent: TdxOAuth2AuthorizationAgent read; write;

Property Value

Type
TdxOAuth2AuthorizationAgent

Remarks

Use this property to associate the online event data provider with a configured OAuth 2.0-compatible authorization agent component corresponding to the actual TcxSchedulerWebServiceStorageOAuth2CustomProvider 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 OAuth 2.0-compatible authorization agent provides, cast the AuthorizationAgent property value to the corresponding component class (TdxGoogleAPIOAuth2AuthorizationAgent in the case of a Google 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