IdTokenVerifier - Documentation

# IdTokenVerifier

#### new IdTokenVerifier(parameters)

Creates a new id_token verifier

Source:
  - index.js, line 22

##### Parameters:

Name | Type | Description
--- | --- | ---

`parameters`

`Object`

Name | Type | Attributes | Default | Description
--- | --- | --- | --- | ---
`issuer` | `String` |  |  | name of the issuer of the token that should match the `iss` claim in the id_token
`audience` | `String` |  |  | identifies the recipients that the JWT is intended for and should match the `aud` claim
`jwksCache` | `Object` | <optional> |  | cache for JSON Web Token Keys. By default it has no cache
`expectedAlg` | `String` | <optional> | 'RS256' | algorithm in which the id_token was signed and will be used to validate
`leeway` | `number` | <optional> | 0 | number of seconds that the clock can be out of sync while validating expiration of the id_token