added RetryOptions in auth0

This commit is contained in:
Donald Pipowitch 2017-12-13 08:24:20 +01:00 committed by GitHub
parent 57d67975c7
commit bd202bef48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 { }