Back to Devexpress

DefaultRedirectUri Constant

vcl-dxauthorizationagents-dot-tdxoauth2authorizationagent-2a3741eb.md

latest1.3 KB
Original Source

DefaultRedirectUri Constant

Specifies the default universal resource identifier required to receive an OAuth 2.0 account access token.

Declaration

delphi
const DefaultRedirectUri: string = 'http://localhost';

Returns

Type
string

Remarks

This writeable typed constant initializes the RedirectUri property. You can use DefaultRedirectUri to preset the URI required to receive the account access token from an OAuth 2.0 authentication server.

Note

The Google Authorization Agent component always uses the loopback IP address to authenticate and authorize an application in a Google account. Do not change the DefaultRedirectUri writeable typed constant value if your application interacts with Google services.

See Also

TdxOAuth2AuthorizationAgent Class

TdxOAuth2AuthorizationAgent Members

dxAuthorizationAgents Unit