From 6e277252e70084a7d1e0568f8b4e5006caca0df8 Mon Sep 17 00:00:00 2001 From: Donald Pipowitch Date: Thu, 28 Dec 2017 07:03:06 +0100 Subject: [PATCH] added test for retry option in auth0 --- types/auth0/auth0-tests.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/types/auth0/auth0-tests.ts b/types/auth0/auth0-tests.ts index 521738db7e..e9e347cc69 100644 --- a/types/auth0/auth0-tests.ts +++ b/types/auth0/auth0-tests.ts @@ -120,3 +120,14 @@ management.getUsersByEmail('email@address.com', (err, users) => { management.getUsersByEmail('email@address.com').then((users) => { console.log(users); }); + +// Using different client settings. + +const retryableManagementClient = new auth0.ManagementClient({ + clientId: '', + clientSecret: '', + domain: 'xxx.auth0.com', + retry: { + enabled : true + } +});