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

TdxGoogleAPIOAuth2AuthorizationAgent Class

The component that allows you to authorize your application in a Google account.

#Declaration

Delphi
TdxGoogleAPIOAuth2AuthorizationAgent = class(
    TdxOAuth2AuthorizationAgent
)

#Remarks

Associate this component with a Google API-compatible DevExpress data provider (TcxSchedulerWebServiceStorageGoogleProvider, for instance) to authenticate and authorize it in a Google account whose authentication credentials are assigned to the ClientID and ClientSecret properties.

The TdxGoogleAPIOAuth2AuthorizationAgent class extends its ancestor with the RedirectUriPort property that allows you to specify the port for a local HTTP server that authenticates and authorizes a user in a Google account. The DefaultClientID and DefaultClientSecret writeable typed constants specify the default ClientID and ClientSecret property values.

Refer to the TdxOAuth2AuthorizationAgent and TdxCustomAuthorizationAgent class descriptions for detailed information on the core authorization agent functionality.

See Also