mirror of
https://github.com/danbulant/jose
synced 2026-05-20 04:48:52 +00:00
89 lines
1.7 KiB
Markdown
89 lines
1.7 KiB
Markdown
# Class: JWKSNoMatchingKey
|
|
|
|
[util/errors](../modules/util_errors.md).JWKSNoMatchingKey
|
|
|
|
An error subclass thrown when no keys match from a JWKS.
|
|
|
|
## Hierarchy
|
|
|
|
- [`JOSEError`](util_errors.JOSEError.md)
|
|
|
|
↳ **`JWKSNoMatchingKey`**
|
|
|
|
## Table of contents
|
|
|
|
### Constructors
|
|
|
|
- [constructor](util_errors.JWKSNoMatchingKey.md#constructor)
|
|
|
|
### Properties
|
|
|
|
- [code](util_errors.JWKSNoMatchingKey.md#code)
|
|
- [message](util_errors.JWKSNoMatchingKey.md#message)
|
|
- [code](util_errors.JWKSNoMatchingKey.md#code)
|
|
|
|
## Constructors
|
|
|
|
### constructor
|
|
|
|
• **new JWKSNoMatchingKey**(`message?`)
|
|
|
|
#### Parameters
|
|
|
|
| Name | Type |
|
|
| :------ | :------ |
|
|
| `message?` | `string` |
|
|
|
|
#### Inherited from
|
|
|
|
[JOSEError](util_errors.JOSEError.md).[constructor](util_errors.JOSEError.md#constructor)
|
|
|
|
#### Defined in
|
|
|
|
[util/errors.ts:16](https://github.com/panva/jose/blob/v3.15.4/src/util/errors.ts#L16)
|
|
|
|
## Properties
|
|
|
|
### code
|
|
|
|
• **code**: `string`
|
|
|
|
A unique error code for the particular error subclass.
|
|
|
|
#### Overrides
|
|
|
|
[JOSEError](util_errors.JOSEError.md).[code](util_errors.JOSEError.md#code)
|
|
|
|
#### Defined in
|
|
|
|
[util/errors.ts:131](https://github.com/panva/jose/blob/v3.15.4/src/util/errors.ts#L131)
|
|
|
|
___
|
|
|
|
### message
|
|
|
|
• **message**: `string` = `'no applicable key found in the JSON Web Key Set'`
|
|
|
|
#### Overrides
|
|
|
|
JOSEError.message
|
|
|
|
#### Defined in
|
|
|
|
[util/errors.ts:133](https://github.com/panva/jose/blob/v3.15.4/src/util/errors.ts#L133)
|
|
|
|
___
|
|
|
|
### code
|
|
|
|
▪ `Static` **code**: `string` = `'ERR_JWKS_NO_MATCHING_KEY'`
|
|
|
|
A unique error code for the particular error subclass.
|
|
|
|
#### Overrides
|
|
|
|
[JOSEError](util_errors.JOSEError.md).[code](util_errors.JOSEError.md#code)
|
|
|
|
#### Defined in
|
|
|
|
[util/errors.ts:129](https://github.com/panva/jose/blob/v3.15.4/src/util/errors.ts#L129)
|