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

1 KiB

Class: JWKSMultipleMatchingKeys

An error subclass thrown when multiple keys match from a JWKS.

Table of contents

Constructors

Properties

Accessors

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"