Skip to content

Commit

Permalink
chore(release): 3.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Jan 26, 2021
1 parent 8c29107 commit f717f84
Show file tree
Hide file tree
Showing 86 changed files with 287 additions and 280 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [3.5.4](https://github.com/panva/jose/compare/v3.5.3...v3.5.4) (2021-01-26)


### Bug Fixes

* export package.json ([8c29107](https://github.com/panva/jose/commit/8c29107aea26a54869d8adadceaf0bbf70fb18cd)), closes [#157](https://github.com/panva/jose/issues/157)

## [3.5.3](https://github.com/panva/jose/compare/v3.5.2...v3.5.3) (2021-01-20)


Expand Down
12 changes: 6 additions & 6 deletions docs/classes/_jwe_compact_encrypt_.compactencrypt.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ console.log(jwe)

\+ **new CompactEncrypt**(`plaintext`: Uint8Array): [CompactEncrypt](_jwe_compact_encrypt_.compactencrypt.md)

*Defined in [src/jwe/compact/encrypt.ts:45](https://github.com/panva/jose/blob/v3.5.3/src/jwe/compact/encrypt.ts#L45)*
*Defined in [src/jwe/compact/encrypt.ts:45](https://github.com/panva/jose/blob/v3.5.4/src/jwe/compact/encrypt.ts#L45)*

#### Parameters:

Expand All @@ -70,7 +70,7 @@ Name | Type | Description |

**encrypt**(`key`: [KeyLike](../types/_types_d_.keylike.md), `options?`: [EncryptOptions](../interfaces/_types_d_.encryptoptions.md)): Promise<string\>

*Defined in [src/jwe/compact/encrypt.ts:108](https://github.com/panva/jose/blob/v3.5.3/src/jwe/compact/encrypt.ts#L108)*
*Defined in [src/jwe/compact/encrypt.ts:108](https://github.com/panva/jose/blob/v3.5.4/src/jwe/compact/encrypt.ts#L108)*

Encrypts and resolves the value of the Compact JWE string.

Expand All @@ -89,7 +89,7 @@ ___

**setContentEncryptionKey**(`cek`: Uint8Array): this

*Defined in [src/jwe/compact/encrypt.ts:62](https://github.com/panva/jose/blob/v3.5.3/src/jwe/compact/encrypt.ts#L62)*
*Defined in [src/jwe/compact/encrypt.ts:62](https://github.com/panva/jose/blob/v3.5.4/src/jwe/compact/encrypt.ts#L62)*

Sets a content encryption key to use, by default a random suitable one
is generated for the JWE enc" (Encryption Algorithm) Header Parameter.
Expand All @@ -110,7 +110,7 @@ ___

**setInitializationVector**(`iv`: Uint8Array): this

*Defined in [src/jwe/compact/encrypt.ts:75](https://github.com/panva/jose/blob/v3.5.3/src/jwe/compact/encrypt.ts#L75)*
*Defined in [src/jwe/compact/encrypt.ts:75](https://github.com/panva/jose/blob/v3.5.4/src/jwe/compact/encrypt.ts#L75)*

Sets the JWE Initialization Vector to use for content encryption, by default
a random suitable one is generated for the JWE enc" (Encryption Algorithm)
Expand All @@ -131,7 +131,7 @@ ___

**setKeyManagementParameters**(`parameters`: [JWEKeyManagementHeaderParameters](../interfaces/_types_d_.jwekeymanagementheaderparameters.md)): this

*Defined in [src/jwe/compact/encrypt.ts:97](https://github.com/panva/jose/blob/v3.5.3/src/jwe/compact/encrypt.ts#L97)*
*Defined in [src/jwe/compact/encrypt.ts:97](https://github.com/panva/jose/blob/v3.5.4/src/jwe/compact/encrypt.ts#L97)*

Sets the JWE Key Management parameters to be used when encrypting the Content
Encryption Key. You do not need to invoke this method, it is only really
Expand All @@ -151,7 +151,7 @@ ___

**setProtectedHeader**(`protectedHeader`: [JWEHeaderParameters](../interfaces/_types_d_.jweheaderparameters.md)): this

*Defined in [src/jwe/compact/encrypt.ts:85](https://github.com/panva/jose/blob/v3.5.3/src/jwe/compact/encrypt.ts#L85)*
*Defined in [src/jwe/compact/encrypt.ts:85](https://github.com/panva/jose/blob/v3.5.4/src/jwe/compact/encrypt.ts#L85)*

Sets the JWE Protected Header on the CompactEncrypt object.

Expand Down
18 changes: 9 additions & 9 deletions docs/classes/_jwe_flattened_encrypt_.flattenedencrypt.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ console.log(jwe)

\+ **new FlattenedEncrypt**(`plaintext`: Uint8Array): [FlattenedEncrypt](_jwe_flattened_encrypt_.flattenedencrypt.md)

*Defined in [src/jwe/flattened/encrypt.ts:75](https://github.com/panva/jose/blob/v3.5.3/src/jwe/flattened/encrypt.ts#L75)*
*Defined in [src/jwe/flattened/encrypt.ts:75](https://github.com/panva/jose/blob/v3.5.4/src/jwe/flattened/encrypt.ts#L75)*

#### Parameters:

Expand All @@ -74,7 +74,7 @@ Name | Type | Description |

**encrypt**(`key`: [KeyLike](../types/_types_d_.keylike.md), `options?`: [EncryptOptions](../interfaces/_types_d_.encryptoptions.md)): Promise<[FlattenedJWE](../interfaces/_types_d_.flattenedjwe.md)\>

*Defined in [src/jwe/flattened/encrypt.ts:187](https://github.com/panva/jose/blob/v3.5.3/src/jwe/flattened/encrypt.ts#L187)*
*Defined in [src/jwe/flattened/encrypt.ts:187](https://github.com/panva/jose/blob/v3.5.4/src/jwe/flattened/encrypt.ts#L187)*

Encrypts and resolves the value of the Flattened JWE object.

Expand All @@ -93,7 +93,7 @@ ___

**setAdditionalAuthenticatedData**(`aad`: Uint8Array): this

*Defined in [src/jwe/flattened/encrypt.ts:144](https://github.com/panva/jose/blob/v3.5.3/src/jwe/flattened/encrypt.ts#L144)*
*Defined in [src/jwe/flattened/encrypt.ts:144](https://github.com/panva/jose/blob/v3.5.4/src/jwe/flattened/encrypt.ts#L144)*

Sets the Additional Authenticated Data on the FlattenedEncrypt object.

Expand All @@ -111,7 +111,7 @@ ___

**setContentEncryptionKey**(`cek`: Uint8Array): this

*Defined in [src/jwe/flattened/encrypt.ts:157](https://github.com/panva/jose/blob/v3.5.3/src/jwe/flattened/encrypt.ts#L157)*
*Defined in [src/jwe/flattened/encrypt.ts:157](https://github.com/panva/jose/blob/v3.5.4/src/jwe/flattened/encrypt.ts#L157)*

Sets a content encryption key to use, by default a random suitable one
is generated for the JWE enc" (Encryption Algorithm) Header Parameter.
Expand All @@ -132,7 +132,7 @@ ___

**setInitializationVector**(`iv`: Uint8Array): this

*Defined in [src/jwe/flattened/encrypt.ts:173](https://github.com/panva/jose/blob/v3.5.3/src/jwe/flattened/encrypt.ts#L173)*
*Defined in [src/jwe/flattened/encrypt.ts:173](https://github.com/panva/jose/blob/v3.5.4/src/jwe/flattened/encrypt.ts#L173)*

Sets the JWE Initialization Vector to use for content encryption, by default
a random suitable one is generated for the JWE enc" (Encryption Algorithm)
Expand All @@ -153,7 +153,7 @@ ___

**setKeyManagementParameters**(`parameters`: [JWEKeyManagementHeaderParameters](../interfaces/_types_d_.jwekeymanagementheaderparameters.md)): this

*Defined in [src/jwe/flattened/encrypt.ts:92](https://github.com/panva/jose/blob/v3.5.3/src/jwe/flattened/encrypt.ts#L92)*
*Defined in [src/jwe/flattened/encrypt.ts:92](https://github.com/panva/jose/blob/v3.5.4/src/jwe/flattened/encrypt.ts#L92)*

Sets the JWE Key Management parameters to be used when encrypting.
Use of this is method is really only needed for ECDH-ES based algorithms
Expand All @@ -174,7 +174,7 @@ ___

**setProtectedHeader**(`protectedHeader`: [JWEHeaderParameters](../interfaces/_types_d_.jweheaderparameters.md)): this

*Defined in [src/jwe/flattened/encrypt.ts:105](https://github.com/panva/jose/blob/v3.5.3/src/jwe/flattened/encrypt.ts#L105)*
*Defined in [src/jwe/flattened/encrypt.ts:105](https://github.com/panva/jose/blob/v3.5.4/src/jwe/flattened/encrypt.ts#L105)*

Sets the JWE Protected Header on the FlattenedEncrypt object.

Expand All @@ -192,7 +192,7 @@ ___

**setSharedUnprotectedHeader**(`sharedUnprotectedHeader`: [JWEHeaderParameters](../interfaces/_types_d_.jweheaderparameters.md)): this

*Defined in [src/jwe/flattened/encrypt.ts:118](https://github.com/panva/jose/blob/v3.5.3/src/jwe/flattened/encrypt.ts#L118)*
*Defined in [src/jwe/flattened/encrypt.ts:118](https://github.com/panva/jose/blob/v3.5.4/src/jwe/flattened/encrypt.ts#L118)*

Sets the JWE Shared Unprotected Header on the FlattenedEncrypt object.

Expand All @@ -210,7 +210,7 @@ ___

**setUnprotectedHeader**(`unprotectedHeader`: [JWEHeaderParameters](../interfaces/_types_d_.jweheaderparameters.md)): this

*Defined in [src/jwe/flattened/encrypt.ts:131](https://github.com/panva/jose/blob/v3.5.3/src/jwe/flattened/encrypt.ts#L131)*
*Defined in [src/jwe/flattened/encrypt.ts:131](https://github.com/panva/jose/blob/v3.5.4/src/jwe/flattened/encrypt.ts#L131)*

Sets the JWE Per-Recipient Unprotected Header on the FlattenedEncrypt object.

Expand Down
6 changes: 3 additions & 3 deletions docs/classes/_jws_compact_sign_.compactsign.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ console.log(jws)

\+ **new CompactSign**(`payload`: Uint8Array): [CompactSign](_jws_compact_sign_.compactsign.md)

*Defined in [src/jws/compact/sign.ts:44](https://github.com/panva/jose/blob/v3.5.3/src/jws/compact/sign.ts#L44)*
*Defined in [src/jws/compact/sign.ts:44](https://github.com/panva/jose/blob/v3.5.4/src/jws/compact/sign.ts#L44)*

#### Parameters:

Expand All @@ -69,7 +69,7 @@ Name | Type | Description |

**setProtectedHeader**(`protectedHeader`: [JWSHeaderParameters](../interfaces/_types_d_.jwsheaderparameters.md)): this

*Defined in [src/jws/compact/sign.ts:58](https://github.com/panva/jose/blob/v3.5.3/src/jws/compact/sign.ts#L58)*
*Defined in [src/jws/compact/sign.ts:58](https://github.com/panva/jose/blob/v3.5.4/src/jws/compact/sign.ts#L58)*

Sets the JWS Protected Header on the Sign object.

Expand All @@ -87,7 +87,7 @@ ___

**sign**(`key`: [KeyLike](../types/_types_d_.keylike.md), `options?`: [SignOptions](../interfaces/_types_d_.signoptions.md)): Promise<string\>

*Defined in [src/jws/compact/sign.ts:69](https://github.com/panva/jose/blob/v3.5.3/src/jws/compact/sign.ts#L69)*
*Defined in [src/jws/compact/sign.ts:69](https://github.com/panva/jose/blob/v3.5.4/src/jws/compact/sign.ts#L69)*

Signs and resolves the value of the Compact JWS string.

Expand Down
8 changes: 4 additions & 4 deletions docs/classes/_jws_flattened_sign_.flattenedsign.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ console.log(jws)

\+ **new FlattenedSign**(`payload`: Uint8Array): [FlattenedSign](_jws_flattened_sign_.flattenedsign.md)

*Defined in [src/jws/flattened/sign.ts:56](https://github.com/panva/jose/blob/v3.5.3/src/jws/flattened/sign.ts#L56)*
*Defined in [src/jws/flattened/sign.ts:56](https://github.com/panva/jose/blob/v3.5.4/src/jws/flattened/sign.ts#L56)*

#### Parameters:

Expand All @@ -69,7 +69,7 @@ Name | Type | Description |

**setProtectedHeader**(`protectedHeader`: [JWSHeaderParameters](../interfaces/_types_d_.jwsheaderparameters.md)): this

*Defined in [src/jws/flattened/sign.ts:70](https://github.com/panva/jose/blob/v3.5.3/src/jws/flattened/sign.ts#L70)*
*Defined in [src/jws/flattened/sign.ts:70](https://github.com/panva/jose/blob/v3.5.4/src/jws/flattened/sign.ts#L70)*

Sets the JWS Protected Header on the FlattenedSign object.

Expand All @@ -87,7 +87,7 @@ ___

**setUnprotectedHeader**(`unprotectedHeader`: [JWSHeaderParameters](../interfaces/_types_d_.jwsheaderparameters.md)): this

*Defined in [src/jws/flattened/sign.ts:83](https://github.com/panva/jose/blob/v3.5.3/src/jws/flattened/sign.ts#L83)*
*Defined in [src/jws/flattened/sign.ts:83](https://github.com/panva/jose/blob/v3.5.4/src/jws/flattened/sign.ts#L83)*

Sets the JWS Unprotected Header on the FlattenedSign object.

Expand All @@ -105,7 +105,7 @@ ___

**sign**(`key`: [KeyLike](../types/_types_d_.keylike.md), `options?`: [SignOptions](../interfaces/_types_d_.signoptions.md)): Promise<[FlattenedJWS](../interfaces/_types_d_.flattenedjws.md)\>

*Defined in [src/jws/flattened/sign.ts:97](https://github.com/panva/jose/blob/v3.5.3/src/jws/flattened/sign.ts#L97)*
*Defined in [src/jws/flattened/sign.ts:97](https://github.com/panva/jose/blob/v3.5.4/src/jws/flattened/sign.ts#L97)*

Signs and resolves the value of the Flattened JWS object.

Expand Down
6 changes: 3 additions & 3 deletions docs/classes/_jws_general_sign_.generalsign.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const jws = await sign.sign()

\+ **new GeneralSign**(`payload`: Uint8Array): [GeneralSign](_jws_general_sign_.generalsign.md)

*Defined in [src/jws/general/sign.ts:124](https://github.com/panva/jose/blob/v3.5.3/src/jws/general/sign.ts#L124)*
*Defined in [src/jws/general/sign.ts:124](https://github.com/panva/jose/blob/v3.5.4/src/jws/general/sign.ts#L124)*

#### Parameters:

Expand All @@ -87,7 +87,7 @@ Name | Type | Description |

**addSignature**(`key`: [KeyLike](../types/_types_d_.keylike.md), `options?`: [SignOptions](../interfaces/_types_d_.signoptions.md)): [Signature](../interfaces/_jws_general_sign_.signature.md)

*Defined in [src/jws/general/sign.ts:133](https://github.com/panva/jose/blob/v3.5.3/src/jws/general/sign.ts#L133)*
*Defined in [src/jws/general/sign.ts:133](https://github.com/panva/jose/blob/v3.5.4/src/jws/general/sign.ts#L133)*

#### Parameters:

Expand All @@ -104,7 +104,7 @@ ___

**sign**(): Promise<[GeneralJWS](../interfaces/_types_d_.generaljws.md)\>

*Defined in [src/jws/general/sign.ts:143](https://github.com/panva/jose/blob/v3.5.3/src/jws/general/sign.ts#L143)*
*Defined in [src/jws/general/sign.ts:143](https://github.com/panva/jose/blob/v3.5.4/src/jws/general/sign.ts#L143)*

Signs and resolves the value of the General JWS object.

Expand Down
32 changes: 16 additions & 16 deletions docs/classes/_jwt_encrypt_.encryptjwt.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ console.log(jwt)

\+ **new EncryptJWT**(`payload`: [JWTPayload](../interfaces/_types_d_.jwtpayload.md)): [EncryptJWT](_jwt_encrypt_.encryptjwt.md)

*Defined in [src/lib/jwt_producer.ts:10](https://github.com/panva/jose/blob/v3.5.3/src/lib/jwt_producer.ts#L10)*
*Defined in [src/lib/jwt_producer.ts:10](https://github.com/panva/jose/blob/v3.5.4/src/lib/jwt_producer.ts#L10)*

#### Parameters:

Expand All @@ -80,7 +80,7 @@ Name | Type | Description |

**encrypt**(`key`: [KeyLike](../types/_types_d_.keylike.md), `options?`: [EncryptOptions](../interfaces/_types_d_.encryptoptions.md)): Promise<string\>

*Defined in [src/jwt/encrypt.ts:160](https://github.com/panva/jose/blob/v3.5.3/src/jwt/encrypt.ts#L160)*
*Defined in [src/jwt/encrypt.ts:160](https://github.com/panva/jose/blob/v3.5.4/src/jwt/encrypt.ts#L160)*

Encrypts and returns the JWT.

Expand All @@ -99,7 +99,7 @@ ___

**replicateAudienceAsHeader**(): this

*Defined in [src/jwt/encrypt.ts:149](https://github.com/panva/jose/blob/v3.5.3/src/jwt/encrypt.ts#L149)*
*Defined in [src/jwt/encrypt.ts:149](https://github.com/panva/jose/blob/v3.5.4/src/jwt/encrypt.ts#L149)*

Replicates the "aud" (Audience) Claim as a JWE Protected Header Parameter as per
[RFC7519#section-5.3](https://tools.ietf.org/html/rfc7519#section-5.3).
Expand All @@ -112,7 +112,7 @@ ___

**replicateIssuerAsHeader**(): this

*Defined in [src/jwt/encrypt.ts:131](https://github.com/panva/jose/blob/v3.5.3/src/jwt/encrypt.ts#L131)*
*Defined in [src/jwt/encrypt.ts:131](https://github.com/panva/jose/blob/v3.5.4/src/jwt/encrypt.ts#L131)*

Replicates the "iss" (Issuer) Claim as a JWE Protected Header Parameter as per
[RFC7519#section-5.3](https://tools.ietf.org/html/rfc7519#section-5.3).
Expand All @@ -125,7 +125,7 @@ ___

**replicateSubjectAsHeader**(): this

*Defined in [src/jwt/encrypt.ts:140](https://github.com/panva/jose/blob/v3.5.3/src/jwt/encrypt.ts#L140)*
*Defined in [src/jwt/encrypt.ts:140](https://github.com/panva/jose/blob/v3.5.4/src/jwt/encrypt.ts#L140)*

Replicates the "sub" (Subject) Claim as a JWE Protected Header Parameter as per
[RFC7519#section-5.3](https://tools.ietf.org/html/rfc7519#section-5.3).
Expand All @@ -138,7 +138,7 @@ ___

**setAudience**(`audience`: string \| string[]): this

*Defined in [src/lib/jwt_producer.ts:47](https://github.com/panva/jose/blob/v3.5.3/src/lib/jwt_producer.ts#L47)*
*Defined in [src/lib/jwt_producer.ts:47](https://github.com/panva/jose/blob/v3.5.4/src/lib/jwt_producer.ts#L47)*

Set "aud" (Audience) Claim.

Expand All @@ -156,7 +156,7 @@ ___

**setContentEncryptionKey**(`cek`: Uint8Array): this

*Defined in [src/jwt/encrypt.ts:103](https://github.com/panva/jose/blob/v3.5.3/src/jwt/encrypt.ts#L103)*
*Defined in [src/jwt/encrypt.ts:103](https://github.com/panva/jose/blob/v3.5.4/src/jwt/encrypt.ts#L103)*

Sets a content encryption key to use, by default a random suitable one
is generated for the JWE enc" (Encryption Algorithm) Header Parameter.
Expand All @@ -177,7 +177,7 @@ ___

**setExpirationTime**(`input`: number \| string): this

*Defined in [src/lib/jwt_producer.ts:85](https://github.com/panva/jose/blob/v3.5.3/src/lib/jwt_producer.ts#L85)*
*Defined in [src/lib/jwt_producer.ts:85](https://github.com/panva/jose/blob/v3.5.4/src/lib/jwt_producer.ts#L85)*

Set "exp" (Expiration Time) Claim.

Expand All @@ -195,7 +195,7 @@ ___

**setInitializationVector**(`iv`: Uint8Array): this

*Defined in [src/jwt/encrypt.ts:119](https://github.com/panva/jose/blob/v3.5.3/src/jwt/encrypt.ts#L119)*
*Defined in [src/jwt/encrypt.ts:119](https://github.com/panva/jose/blob/v3.5.4/src/jwt/encrypt.ts#L119)*

Sets the JWE Initialization Vector to use for content encryption, by default
a random suitable one is generated for the JWE enc" (Encryption Algorithm)
Expand All @@ -216,7 +216,7 @@ ___

**setIssuedAt**(`input?`: number): this

*Defined in [src/lib/jwt_producer.ts:100](https://github.com/panva/jose/blob/v3.5.3/src/lib/jwt_producer.ts#L100)*
*Defined in [src/lib/jwt_producer.ts:100](https://github.com/panva/jose/blob/v3.5.4/src/lib/jwt_producer.ts#L100)*

Set "iat" (Issued At) Claim.

Expand All @@ -234,7 +234,7 @@ ___

**setIssuer**(`issuer`: string): this

*Defined in [src/lib/jwt_producer.ts:27](https://github.com/panva/jose/blob/v3.5.3/src/lib/jwt_producer.ts#L27)*
*Defined in [src/lib/jwt_producer.ts:27](https://github.com/panva/jose/blob/v3.5.4/src/lib/jwt_producer.ts#L27)*

Set "iss" (Issuer) Claim.

Expand All @@ -252,7 +252,7 @@ ___

**setJti**(`jwtId`: string): this

*Defined in [src/lib/jwt_producer.ts:57](https://github.com/panva/jose/blob/v3.5.3/src/lib/jwt_producer.ts#L57)*
*Defined in [src/lib/jwt_producer.ts:57](https://github.com/panva/jose/blob/v3.5.4/src/lib/jwt_producer.ts#L57)*

Set "jti" (JWT ID) Claim.

Expand All @@ -270,7 +270,7 @@ ___

**setKeyManagementParameters**(`parameters`: [JWEKeyManagementHeaderParameters](../interfaces/_types_d_.jwekeymanagementheaderparameters.md)): this

*Defined in [src/jwt/encrypt.ts:87](https://github.com/panva/jose/blob/v3.5.3/src/jwt/encrypt.ts#L87)*
*Defined in [src/jwt/encrypt.ts:87](https://github.com/panva/jose/blob/v3.5.4/src/jwt/encrypt.ts#L87)*

Sets the JWE Key Management parameters to be used when encrypting.
Use of this is method is really only needed for ECDH-ES based algorithms
Expand All @@ -291,7 +291,7 @@ ___

**setNotBefore**(`input`: number \| string): this

*Defined in [src/lib/jwt_producer.ts:69](https://github.com/panva/jose/blob/v3.5.3/src/lib/jwt_producer.ts#L69)*
*Defined in [src/lib/jwt_producer.ts:69](https://github.com/panva/jose/blob/v3.5.4/src/lib/jwt_producer.ts#L69)*

Set "nbf" (Not Before) Claim.

Expand All @@ -309,7 +309,7 @@ ___

**setProtectedHeader**(`protectedHeader`: [JWEHeaderParameters](../interfaces/_types_d_.jweheaderparameters.md)): this

*Defined in [src/jwt/encrypt.ts:71](https://github.com/panva/jose/blob/v3.5.3/src/jwt/encrypt.ts#L71)*
*Defined in [src/jwt/encrypt.ts:71](https://github.com/panva/jose/blob/v3.5.4/src/jwt/encrypt.ts#L71)*

Sets the JWE Protected Header on the EncryptJWT object.

Expand All @@ -327,7 +327,7 @@ ___

**setSubject**(`subject`: string): this

*Defined in [src/lib/jwt_producer.ts:37](https://github.com/panva/jose/blob/v3.5.3/src/lib/jwt_producer.ts#L37)*
*Defined in [src/lib/jwt_producer.ts:37](https://github.com/panva/jose/blob/v3.5.4/src/lib/jwt_producer.ts#L37)*

Set "sub" (Subject) Claim.

Expand Down
Loading

0 comments on commit f717f84

Please sign in to comment.