Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TokenCyclerOptions

Package version

Hierarchy

  • TokenCyclerOptions

Index

Properties

forcedRefreshWindowInMs

forcedRefreshWindowInMs: number

The window of time before token expiration during which the token will be considered unusable due to risk of the token expiring before sending the request.

This will only become meaningful if the refresh fails for over (refreshWindow - forcedRefreshWindow) milliseconds.

refreshWindowInMs

refreshWindowInMs: number

The window of time before token expiration during which we will attempt to refresh the token.

retryIntervalInMs

retryIntervalInMs: number

Interval in milliseconds to retry failed token refreshes.

Generated using TypeDoc