TdxGoogleAPIOAuth2AuthorizationAgent Class
The component that allows you to authorize your application in a Google account.
Declaration
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.