mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
added RetryOptions in auth0
This commit is contained in:
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 { }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user