# Variable: clockTolerance

[💗 Help the project](https://github.com/sponsors/panva)

Support from the community to continue maintaining and improving this module is welcome. If you find the module useful, please consider supporting the project by [becoming a sponsor](https://github.com/sponsors/panva).

***

• `const` **clockTolerance**: unique `symbol`

Sets the allowed clock tolerance for JWT timestamp claim validation.

Only positive finite values representing seconds are allowed. Default is `30` (30 seconds).

## Example

Tolerate 30 seconds clock skew when validating JWT claims like exp or nbf.

```ts
let client: oauth.Client = {
  client_id: 'abc4ba37-4ab8-49b5-99d4-9441ba35d428',
  // ... other metadata
  [oauth.clockTolerance]: 30,
}
```
