Back to Devexpress

DefaultTokenExpiresIn Constant

vcl-dxauthorizationagents-dot-tdxoauth2authorizationagent-8573286e.md

latest963 B
Original Source

DefaultTokenExpiresIn Constant

Specifies the default access token lifetime, in seconds.

Declaration

delphi
const DefaultTokenExpiresIn = 3600;

Remarks

The authorization agent assigns this writable typed constant value to the AccessTokenExpiresIn property’s underlying field if an authentication server provides no expiration time for a newly generated access token. The agent uses the refresh token to automatically update the access token once it expires.

See Also

TdxOAuth2AuthorizationAgent Class

TdxOAuth2AuthorizationAgent Members

dxAuthorizationAgents Unit