jose/docs/classes/util_errors.jwksmultiplematchingkeys.md
2021-04-30 14:22:02 +02:00

1.9 KiB

Class: JWKSMultipleMatchingKeys

util/errors.JWKSMultipleMatchingKeys

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

Hierarchy

Table of contents

Constructors

Properties

Constructors

constructor

+ new JWKSMultipleMatchingKeys(message?: string): JWKSMultipleMatchingKeys

Parameters:

Name Type
message? string

Returns: JWKSMultipleMatchingKeys

Inherited from: JOSEError

Defined in: util/errors.ts:16

Properties

code

code: string

A unique error code for the particular error subclass.

Overrides: JOSEError.code

Defined in: util/errors.ts:144


message

message: string= 'multiple matching keys found in the JSON Web Key Set'

Overrides: JOSEError.message

Defined in: util/errors.ts:146


code

Static code: string= 'ERR_JWKS_MULTIPLE_MATCHING_KEYS'

A unique error code for the particular error subclass.

Overrides: JOSEError.code

Defined in: util/errors.ts:142