TdxGoogleAPIOAuth2AuthorizationAgentUserInfo Class
A data provider that retrieves the user information from a connected Google online account.
Declaration
TdxGoogleAPIOAuth2AuthorizationAgentUserInfo = class(
TdxOAuth2AuthorizationAgentUserInfo
)
Remarks
This class implements the online data provider that can retrieve the user display name and email via the Google APIs. Call the GetUserInfo class function passing a Google OAuth 2.0 authorization agent component as a parameter to create a complementary data provider that you can use with other DevExpress Google API-compatible providers (TcxSchedulerWebServiceStorageGoogleProvider, for instance).
The TdxGoogleAPIOAuth2AuthorizationAgentUserInfo class provides the following members that allow you to:
Access and configure the Google account user information provider’s authorization agent and configure it (AuthorizationAgent);
Connect to a Google account and obtain the user information (UpdateInfo);
Read the user e-mail and display name from the connected account (Mail and DisplayName).