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

TdxGoogleAPIOAuth2AuthorizationAgentUserInfo.GetScopes Method

Returns the list of user information access permissions that the associated authorization agent requests on a successful connection to a Google account.

#Declaration

Delphi
function GetScopes: TStringList; override;

#Returns

Type
TStringList

#Remarks

This function supports the internal infrastructure and is not intended to be used directly from your code. The Google OAuth 2.0 authorization agent component calls the GetScopes function internally via the IdxOAuth2AuthorizationAgentScopeRequestor interface to request the following user information access permission strings:

Account Access Scope String Description Corresponding Property
‘profile’ The provider can retrieve the user display name from the connected Google account. DisplayName
‘email’ The provider can retrieve the user’s email from the connected Google account. Mail

Note

Call the UpdateInfo procedure to attempt to connect to a Google online account with the current authorization agent settings and obtain the user information.

See Also