Back to Devexpress

HeaderContentType Constant

vcl-dxauthorizationagents-dot-tdxoauth2authorizationagent-bb79f8d3.md

latest1.0 KB
Original Source

HeaderContentType Constant

Specifies the default header for HTTP requests to an OAuth 2.0 authorization server.

Declaration

delphi
const HeaderContentType = 'Content-Type: application/x-www-form-urlencoded';

Remarks

The authorization agent component uses this writable typed constant value in all requests to authorization servers. Additionally, OAuth 2.0-compatible user information providers (that is, TdxOAuth2AuthorizationAgentUserInfo class descendant instances) use the HeaderContentType constant to retrieve the connected account’s user email and display name.

See Also

TdxOAuth2AuthorizationAgent Class

TdxOAuth2AuthorizationAgent Members

dxAuthorizationAgents Unit