Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxSchedulerWebServiceStorageOAuth2CustomProvider.AuthorizationAgent Property

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

#Declaration

Delphi
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