Back to Devexpress

DefaultClientSecret Constant

vcl-dxauthorizationagents-dot-tdxgoogleapioauth2authorizationagent-069cb759.md

latest1.4 KB
Original Source

DefaultClientSecret Constant

Specifies the default OAuth 2.0 client secret for a Google API-compatible authorization agent component.

Declaration

delphi
const DefaultClientSecret: string = '';

Returns

TypeDescription
string

An OAuth 2.0 client secret string.

|

Remarks

This writeable typed constant initializes the newly created Google account authorization agent component’s ClientSecret property. You can use the DefaultClientID and DefaultClientSecret writable typed constants to preset the account access credentials for all new TdxGoogleAPIOAuth2AuthorizationAgent class instances.

Important

It is unsafe to store OAuth 2.0 client secrets in source code.

See Also

DefaultClientSecret

TdxGoogleAPIOAuth2AuthorizationAgent Class

TdxGoogleAPIOAuth2AuthorizationAgent Members

dxAuthorizationAgents Unit