mirror of
https://github.com/danbulant/jose
synced 2026-05-24 20:41:46 +00:00
BREAKING CHANGE: Revised, Promise-based API BREAKING CHANGE: No dependencies BREAKING CHANGE: Browser support (using [Web Cryptography API](https://www.w3.org/TR/WebCryptoAPI/)) BREAKING CHANGE: Support for verification using a remote JWKS endpoint BREAKING CHANGE: Experimental Node.js libuv thread pool based runtime (non-blocking 🎉)
1.4 KiB
1.4 KiB
Class: JOSEAlgNotAllowed
An error subclass thrown when a JOSE Algorithm is not allowed per developer preference.
Index
Constructors
Properties
Constructors
constructor
+ new JOSEAlgNotAllowed(message?: string): JOSEAlgNotAllowed
Defined in src/util/errors.ts:11
Parameters:
| Name | Type |
|---|---|
message? |
string |
Returns: JOSEAlgNotAllowed
Properties
code
• code: string = "ERR_JOSE_ALG_NOT_ALLOWED"
Defined in src/util/errors.ts:49
message
• message: string
Defined in node_modules/typescript/lib/lib.es5.d.ts:974
name
• name: string
Defined in node_modules/typescript/lib/lib.es5.d.ts:973
stack
• Optional stack: string
Defined in node_modules/typescript/lib/lib.es5.d.ts:975