mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
added test for retry option in auth0
This commit is contained in:
@@ -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
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user