mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
added RetryOptions in auth0
This commit is contained in:
parent
57d67975c7
commit
bd202bef48
12
types/auth0/index.d.ts
vendored
12
types/auth0/index.d.ts
vendored
@ -14,6 +14,7 @@ export interface ManagementClientOptions {
|
||||
audience?: string;
|
||||
scope?: string;
|
||||
tokenProvider?: TokenProvider;
|
||||
retry?: RetryOptions;
|
||||
}
|
||||
|
||||
export interface TokenProvider {
|
||||
@ -21,6 +22,17 @@ export interface TokenProvider {
|
||||
cacheTTLInSeconds?: number;
|
||||
}
|
||||
|
||||
export interface RetryOptions {
|
||||
/**
|
||||
* Default value is `true`.
|
||||
*/
|
||||
enabled?: boolean;
|
||||
/**
|
||||
* Default value is `10`.
|
||||
*/
|
||||
maxRetries?: number;
|
||||
}
|
||||
|
||||
export interface UserMetadata { }
|
||||
export interface AppMetadata { }
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user