Skip to main content

DefaultTokenExpiresIn Constant

Specifies the default access token lifetime, in seconds.

Declaration

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