jose/docs/classes/util_errors.JWKSMultipleMatchingKeys.md
2021-10-14 12:06:19 +02:00

56 lines
1 KiB
Markdown

# Class: JWKSMultipleMatchingKeys
An error subclass thrown when multiple keys match from a JWKS.
## Table of contents
### Constructors
- [constructor](util_errors.JWKSMultipleMatchingKeys.md#constructor)
### Properties
- [code](util_errors.JWKSMultipleMatchingKeys.md#code)
- [message](util_errors.JWKSMultipleMatchingKeys.md#message)
### Accessors
- [code](util_errors.JWKSMultipleMatchingKeys.md#code)
## Constructors
### constructor
**new JWKSMultipleMatchingKeys**(`message?`)
#### Parameters
| Name | Type |
| :------ | :------ |
| `message?` | `string` |
## Properties
### code
**code**: `string` = `'ERR_JWKS_MULTIPLE_MATCHING_KEYS'`
A unique error code for the particular error subclass.
___
### message
**message**: `string` = `'multiple matching keys found in the JSON Web Key Set'`
## Accessors
### code
`Static` `get` **code**(): ``"ERR_JWKS_MULTIPLE_MATCHING_KEYS"``
A unique error code for the particular error subclass.
#### Returns
``"ERR_JWKS_MULTIPLE_MATCHING_KEYS"``