Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Adding meaningful names
  • Loading branch information
sthangavel committed Oct 21, 2019
commit eb503957ea4659bd9e67db957236f02cf42f9bb1
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Follow the instructions below to use the library :
environment: 'sandbox' || 'production',
redirectUri: '<Enter your callback URL>',
autoRefresh: true,
autoRefreshInterval: 55 * 60
autoRefreshIntervalInSeconds: 55 * 60
});
```

Expand All @@ -88,7 +88,7 @@ Follow the instructions below to use the library :
* `production` - for authorizing in production.
* `redirectUri` - redirectUri on your app to get the `authorizationCode` from Intuit Servers. Required
* `autoRefresh` - by default, autoRefresh is disabled i.e `false`. To enable provide `true`. If set to true, authclient would refresh the tokens every `autoRefreshInterval` specified so clients do not have to manually call refresh after the first successful `createToken` call. Optional.
* `autoRefreshInterval` - only if `autoRefresh` is set to true, config will use `autoRefreshInterval`. It is set in seconds. If user does not specify a value but has set `autoRefresh` as true, it would default to 55 minutes. Use `stopAutoRefresh` method on OAuthClient anytime to stop auto Refresh. Optional.
* `autoRefreshIntervalInSeconds` - only if `autoRefresh` is set to true, config will use `autoRefreshIntervalInSeconds`. It is set in seconds. If user does not specify a value but has set `autoRefresh` as true, it would default to 55 minutes. Use `stopAutoRefresh` method on OAuthClient anytime to stop auto Refresh. Optional.
* `logging` - by default, logging is disabled i.e `false`. To enable provide`true`. Optional.


Expand Down