Back to Devexpress

TdxOAuth2AuthorizationAgent.ClientID Property

vcl-dxauthorizationagents-dot-tdxoauth2authorizationagent-e942c250.md

latest2.2 KB
Original Source

TdxOAuth2AuthorizationAgent.ClientID Property

Specifies the OAuth 2.0 unique client identifier.

Declaration

delphi
property ClientID: string read; write;

Property Value

Type
string

Remarks

Use this property to set the client application identifier that the authorization agent uses to connect to a supported OAuth 2.0 server. To obtain a valid OAuth 2.0 client identifier, you need to register your application with the online service corresponding to the required account type. The actual registration procedure depends on the online data access API and the corresponding authorization agent component (a TdxOAuth2AuthorizationAgent class descendant instance) you are going to use in your application:

Online Data Access APIAuthorization Agent ClassHow to Register a Native Application
Google APITdxGoogleAPIOAuth2AuthorizationAgenthttps://developers.google.com/identity/protocols/oauth2/native-app
Microsoft Graph® APITdxMicrosoftGraphAPIOAuth2AuthorizationAgenthttps://docs.microsoft.com/en-us/graph/auth-register-app-v2

The ClientID property’s default value is an empty string. TdxOAuth2AuthorizationAgent class descendants have their own default ClientID property values.

See Also

DefaultClientID

DefaultClientID

TdxOAuth2AuthorizationAgent Class

TdxOAuth2AuthorizationAgent Members

dxAuthorizationAgents Unit