DefaultClientSecret Constant
Specifies the default OAuth 2.0 client secret for a Google API-compatible authorization agent component.
Declaration
const DefaultClientSecret: string = '';
Returns
Type | Description |
---|---|
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