Back to Node Auth0

Interface RetryConfiguration

docs/interfaces/lib.RetryConfiguration.html

5.9.11.0 KB
Original Source
  • lib
  • RetryConfiguration

Interface RetryConfiguration

Configure the retry logic for http calls. By default, this retries any request that returns a 429 3 times.

interface RetryConfiguration {
enabled?: boolean;
maxRetries?: number;
retryWhen?: number[];
}

Index

Properties

enabled?maxRetries?retryWhen?

Properties

Optionalenabled

enabled?: boolean

Configure the usage of retries. Defaults to true on the Management Client and false on the Authentication Client.

OptionalmaxRetries

maxRetries?: number

Configure the max amount of retries the SDK should do. Defaults to 5.

OptionalretryWhen

retryWhen?: number[]

Status Codes on which the SDK should trigger retries. Defaults to [429].

Settings

Member Visibility

  • Protected
  • Inherited

ThemeOSLightDark

On This Page

Properties enabledmaxRetriesretryWhen