Back to Devexpress

DefaultClientSecret Constant

vcl-dxauthorizationagents-dot-tdxmicrosoftgraphapioauth2authorizationagent-31a3ab5c.md

latest1.5 KB
Original Source

DefaultClientSecret Constant

Specifies the default OAuth 2.0 client secret for a Microsoft Graph® 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 Microsoft 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 TdxMicrosoftGraphAPIOAuth2AuthorizationAgent class instances.

Important

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

See Also

DefaultClientSecret

TdxMicrosoftGraphAPIOAuth2AuthorizationAgent Class

TdxMicrosoftGraphAPIOAuth2AuthorizationAgent Members

dxAuthorizationAgents Unit