Skip to content

Commit 2698401

Browse files
committed
chore: bump dev deps
1 parent fbf2b7b commit 2698401

File tree

60 files changed

+477
-353
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+477
-353
lines changed

Diff for: docs/classes/jwe_compact_encrypt.CompactEncrypt.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -44,26 +44,26 @@ console.log(jwe)
4444

4545
| Name | Type | Description |
4646
| :------ | :------ | :------ |
47-
| `plaintext` | [`Uint8Array`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) | Binary representation of the plaintext to encrypt. |
47+
| `plaintext` | [`Uint8Array`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) | Binary representation of the plaintext to encrypt. |
4848

4949
## Methods
5050

5151
### encrypt
5252

53-
**encrypt**(`key`, `options?`): [`Promise`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise )\<`string`\>
53+
**encrypt**(`key`, `options?`): [`Promise`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise )\<`string`\>
5454

5555
Encrypts and resolves the value of the Compact JWE string.
5656

5757
#### Parameters
5858

5959
| Name | Type | Description |
6060
| :------ | :------ | :------ |
61-
| `key` | [`Uint8Array`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) \| [`KeyLike`](../types/types.KeyLike.md) | Public Key or Secret to encrypt the JWE with. See [Algorithm Key Requirements](https://github.com/panva/jose/issues/210#jwe-alg). |
61+
| `key` | [`Uint8Array`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) \| [`KeyLike`](../types/types.KeyLike.md) | Public Key or Secret to encrypt the JWE with. See [Algorithm Key Requirements](https://github.com/panva/jose/issues/210#jwe-alg). |
6262
| `options?` | [`EncryptOptions`](../interfaces/types.EncryptOptions.md) | JWE Encryption options. |
6363

6464
#### Returns
6565

66-
[`Promise`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise )\<`string`\>
66+
[`Promise`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise )\<`string`\>
6767

6868
___
6969

@@ -78,7 +78,7 @@ enc" (Encryption Algorithm) Header Parameter.
7878

7979
| Name | Type | Description |
8080
| :------ | :------ | :------ |
81-
| `cek` | [`Uint8Array`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) | JWE Content Encryption Key. |
81+
| `cek` | [`Uint8Array`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) | JWE Content Encryption Key. |
8282

8383
#### Returns
8484

@@ -102,7 +102,7 @@ one is generated for the JWE enc" (Encryption Algorithm) Header Parameter.
102102

103103
| Name | Type | Description |
104104
| :------ | :------ | :------ |
105-
| `iv` | [`Uint8Array`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) | JWE Initialization Vector. |
105+
| `iv` | [`Uint8Array`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) | JWE Initialization Vector. |
106106

107107
#### Returns
108108

Diff for: docs/classes/jwe_flattened_encrypt.FlattenedEncrypt.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -48,26 +48,26 @@ console.log(jwe)
4848

4949
| Name | Type | Description |
5050
| :------ | :------ | :------ |
51-
| `plaintext` | [`Uint8Array`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) | Binary representation of the plaintext to encrypt. |
51+
| `plaintext` | [`Uint8Array`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) | Binary representation of the plaintext to encrypt. |
5252

5353
## Methods
5454

5555
### encrypt
5656

57-
**encrypt**(`key`, `options?`): [`Promise`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise )\<[`FlattenedJWE`](../interfaces/types.FlattenedJWE.md)\>
57+
**encrypt**(`key`, `options?`): [`Promise`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise )\<[`FlattenedJWE`](../interfaces/types.FlattenedJWE.md)\>
5858

5959
Encrypts and resolves the value of the Flattened JWE object.
6060

6161
#### Parameters
6262

6363
| Name | Type | Description |
6464
| :------ | :------ | :------ |
65-
| `key` | [`Uint8Array`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) \| [`KeyLike`](../types/types.KeyLike.md) | Public Key or Secret to encrypt the JWE with. See [Algorithm Key Requirements](https://github.com/panva/jose/issues/210#jwe-alg). |
65+
| `key` | [`Uint8Array`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) \| [`KeyLike`](../types/types.KeyLike.md) | Public Key or Secret to encrypt the JWE with. See [Algorithm Key Requirements](https://github.com/panva/jose/issues/210#jwe-alg). |
6666
| `options?` | [`EncryptOptions`](../interfaces/types.EncryptOptions.md) | JWE Encryption options. |
6767

6868
#### Returns
6969

70-
[`Promise`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise )\<[`FlattenedJWE`](../interfaces/types.FlattenedJWE.md)\>
70+
[`Promise`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise )\<[`FlattenedJWE`](../interfaces/types.FlattenedJWE.md)\>
7171

7272
___
7373

@@ -81,7 +81,7 @@ Sets the Additional Authenticated Data on the FlattenedEncrypt object.
8181

8282
| Name | Type | Description |
8383
| :------ | :------ | :------ |
84-
| `aad` | [`Uint8Array`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) | Additional Authenticated Data. |
84+
| `aad` | [`Uint8Array`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) | Additional Authenticated Data. |
8585

8686
#### Returns
8787

@@ -100,7 +100,7 @@ enc" (Encryption Algorithm) Header Parameter.
100100

101101
| Name | Type | Description |
102102
| :------ | :------ | :------ |
103-
| `cek` | [`Uint8Array`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) | JWE Content Encryption Key. |
103+
| `cek` | [`Uint8Array`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) | JWE Content Encryption Key. |
104104

105105
#### Returns
106106

@@ -124,7 +124,7 @@ one is generated for the JWE enc" (Encryption Algorithm) Header Parameter.
124124

125125
| Name | Type | Description |
126126
| :------ | :------ | :------ |
127-
| `iv` | [`Uint8Array`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) | JWE Initialization Vector. |
127+
| `iv` | [`Uint8Array`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) | JWE Initialization Vector. |
128128

129129
#### Returns
130130

Diff for: docs/classes/jwe_general_encrypt.GeneralEncrypt.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ console.log(jwe)
4848

4949
| Name | Type | Description |
5050
| :------ | :------ | :------ |
51-
| `plaintext` | [`Uint8Array`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) | Binary representation of the plaintext to encrypt. |
51+
| `plaintext` | [`Uint8Array`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) | Binary representation of the plaintext to encrypt. |
5252

5353
## Methods
5454

@@ -62,7 +62,7 @@ Adds an additional recipient for the General JWE object.
6262

6363
| Name | Type | Description |
6464
| :------ | :------ | :------ |
65-
| `key` | [`Uint8Array`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) \| [`KeyLike`](../types/types.KeyLike.md) | Public Key or Secret to encrypt the Content Encryption Key for the recipient with. See [Algorithm Key Requirements](https://github.com/panva/jose/issues/210#jwe-alg). |
65+
| `key` | [`Uint8Array`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) \| [`KeyLike`](../types/types.KeyLike.md) | Public Key or Secret to encrypt the Content Encryption Key for the recipient with. See [Algorithm Key Requirements](https://github.com/panva/jose/issues/210#jwe-alg). |
6666
| `options?` | [`CritOption`](../interfaces/types.CritOption.md) | JWE Encryption options. |
6767

6868
#### Returns
@@ -73,13 +73,13 @@ ___
7373

7474
### encrypt
7575

76-
**encrypt**(): [`Promise`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise )\<[`GeneralJWE`](../interfaces/types.GeneralJWE.md)\>
76+
**encrypt**(): [`Promise`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise )\<[`GeneralJWE`](../interfaces/types.GeneralJWE.md)\>
7777

7878
Encrypts and resolves the value of the General JWE object.
7979

8080
#### Returns
8181

82-
[`Promise`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise )\<[`GeneralJWE`](../interfaces/types.GeneralJWE.md)\>
82+
[`Promise`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise )\<[`GeneralJWE`](../interfaces/types.GeneralJWE.md)\>
8383

8484
___
8585

@@ -93,7 +93,7 @@ Sets the Additional Authenticated Data on the GeneralEncrypt object.
9393

9494
| Name | Type | Description |
9595
| :------ | :------ | :------ |
96-
| `aad` | [`Uint8Array`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) | Additional Authenticated Data. |
96+
| `aad` | [`Uint8Array`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) | Additional Authenticated Data. |
9797

9898
#### Returns
9999

Diff for: docs/classes/jws_compact_sign.CompactSign.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ console.log(jws)
4141

4242
| Name | Type | Description |
4343
| :------ | :------ | :------ |
44-
| `payload` | [`Uint8Array`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) | Binary representation of the payload to sign. |
44+
| `payload` | [`Uint8Array`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) | Binary representation of the payload to sign. |
4545

4646
## Methods
4747

@@ -65,17 +65,17 @@ ___
6565

6666
### sign
6767

68-
**sign**(`key`, `options?`): [`Promise`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise )\<`string`\>
68+
**sign**(`key`, `options?`): [`Promise`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise )\<`string`\>
6969

7070
Signs and resolves the value of the Compact JWS string.
7171

7272
#### Parameters
7373

7474
| Name | Type | Description |
7575
| :------ | :------ | :------ |
76-
| `key` | [`Uint8Array`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) \| [`KeyLike`](../types/types.KeyLike.md) | Private Key or Secret to sign the JWS with. See [Algorithm Key Requirements](https://github.com/panva/jose/issues/210#jws-alg). |
76+
| `key` | [`Uint8Array`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) \| [`KeyLike`](../types/types.KeyLike.md) | Private Key or Secret to sign the JWS with. See [Algorithm Key Requirements](https://github.com/panva/jose/issues/210#jws-alg). |
7777
| `options?` | [`SignOptions`](../interfaces/types.SignOptions.md) | JWS Sign options. |
7878

7979
#### Returns
8080

81-
[`Promise`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise )\<`string`\>
81+
[`Promise`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise )\<`string`\>

Diff for: docs/classes/jws_flattened_sign.FlattenedSign.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ console.log(jws)
4242

4343
| Name | Type | Description |
4444
| :------ | :------ | :------ |
45-
| `payload` | [`Uint8Array`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) | Binary representation of the payload to sign. |
45+
| `payload` | [`Uint8Array`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) | Binary representation of the payload to sign. |
4646

4747
## Methods
4848

@@ -84,17 +84,17 @@ ___
8484

8585
### sign
8686

87-
**sign**(`key`, `options?`): [`Promise`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise )\<[`FlattenedJWS`](../interfaces/types.FlattenedJWS.md)\>
87+
**sign**(`key`, `options?`): [`Promise`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise )\<[`FlattenedJWS`](../interfaces/types.FlattenedJWS.md)\>
8888

8989
Signs and resolves the value of the Flattened JWS object.
9090

9191
#### Parameters
9292

9393
| Name | Type | Description |
9494
| :------ | :------ | :------ |
95-
| `key` | [`Uint8Array`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) \| [`KeyLike`](../types/types.KeyLike.md) | Private Key or Secret to sign the JWS with. See [Algorithm Key Requirements](https://github.com/panva/jose/issues/210#jws-alg). |
95+
| `key` | [`Uint8Array`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) \| [`KeyLike`](../types/types.KeyLike.md) | Private Key or Secret to sign the JWS with. See [Algorithm Key Requirements](https://github.com/panva/jose/issues/210#jws-alg). |
9696
| `options?` | [`SignOptions`](../interfaces/types.SignOptions.md) | JWS Sign options. |
9797

9898
#### Returns
9999

100-
[`Promise`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise )\<[`FlattenedJWS`](../interfaces/types.FlattenedJWS.md)\>
100+
[`Promise`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise )\<[`FlattenedJWS`](../interfaces/types.FlattenedJWS.md)\>

Diff for: docs/classes/jws_general_sign.GeneralSign.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ console.log(jws)
4444

4545
| Name | Type | Description |
4646
| :------ | :------ | :------ |
47-
| `payload` | [`Uint8Array`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) | Binary representation of the payload to sign. |
47+
| `payload` | [`Uint8Array`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) | Binary representation of the payload to sign. |
4848

4949
## Methods
5050

@@ -58,7 +58,7 @@ Adds an additional signature for the General JWS object.
5858

5959
| Name | Type | Description |
6060
| :------ | :------ | :------ |
61-
| `key` | [`Uint8Array`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) \| [`KeyLike`](../types/types.KeyLike.md) | Private Key or Secret to sign the individual JWS signature with. See [Algorithm Key Requirements](https://github.com/panva/jose/issues/210#jws-alg). |
61+
| `key` | [`Uint8Array`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) \| [`KeyLike`](../types/types.KeyLike.md) | Private Key or Secret to sign the individual JWS signature with. See [Algorithm Key Requirements](https://github.com/panva/jose/issues/210#jws-alg). |
6262
| `options?` | [`SignOptions`](../interfaces/types.SignOptions.md) | JWS Sign options. |
6363

6464
#### Returns
@@ -69,10 +69,10 @@ ___
6969

7070
### sign
7171

72-
**sign**(): [`Promise`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise )\<[`GeneralJWS`](../interfaces/types.GeneralJWS.md)\>
72+
**sign**(): [`Promise`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise )\<[`GeneralJWS`](../interfaces/types.GeneralJWS.md)\>
7373

7474
Signs and resolves the value of the General JWS object.
7575

7676
#### Returns
7777

78-
[`Promise`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise )\<[`GeneralJWS`](../interfaces/types.GeneralJWS.md)\>
78+
[`Promise`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise )\<[`GeneralJWS`](../interfaces/types.GeneralJWS.md)\>

Diff for: docs/classes/jwt_encrypt.EncryptJWT.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -63,20 +63,20 @@ console.log(jwt)
6363

6464
### encrypt
6565

66-
**encrypt**(`key`, `options?`): [`Promise`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise )\<`string`\>
66+
**encrypt**(`key`, `options?`): [`Promise`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise )\<`string`\>
6767

6868
Encrypts and returns the JWT.
6969

7070
#### Parameters
7171

7272
| Name | Type | Description |
7373
| :------ | :------ | :------ |
74-
| `key` | [`Uint8Array`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) \| [`KeyLike`](../types/types.KeyLike.md) | Public Key or Secret to encrypt the JWT with. See [Algorithm Key Requirements](https://github.com/panva/jose/issues/210#jwe-alg). |
74+
| `key` | [`Uint8Array`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) \| [`KeyLike`](../types/types.KeyLike.md) | Public Key or Secret to encrypt the JWT with. See [Algorithm Key Requirements](https://github.com/panva/jose/issues/210#jwe-alg). |
7575
| `options?` | [`EncryptOptions`](../interfaces/types.EncryptOptions.md) | JWE Encryption options. |
7676

7777
#### Returns
7878

79-
[`Promise`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise )\<`string`\>
79+
[`Promise`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise )\<`string`\>
8080

8181
___
8282

@@ -157,7 +157,7 @@ enc" (Encryption Algorithm) Header Parameter.
157157

158158
| Name | Type | Description |
159159
| :------ | :------ | :------ |
160-
| `cek` | [`Uint8Array`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) | JWE Content Encryption Key. |
160+
| `cek` | [`Uint8Array`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) | JWE Content Encryption Key. |
161161

162162
#### Returns
163163

@@ -180,7 +180,7 @@ Set the "exp" (Expiration Time) Claim.
180180

181181
| Name | Type | Description |
182182
| :------ | :------ | :------ |
183-
| `input` | `string` \| `number` \| [`Date`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date ) | "exp" (Expiration Time) Claim value to set on the JWT Claims Set. When number is passed that is used as a value, when string is passed it is resolved to a time span and added to the current timestamp. |
183+
| `input` | `string` \| `number` \| [`Date`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date ) | "exp" (Expiration Time) Claim value to set on the JWT Claims Set. When number is passed that is used as a value, when string is passed it is resolved to a time span and added to the current timestamp. |
184184

185185
#### Returns
186186

@@ -199,7 +199,7 @@ one is generated for the JWE enc" (Encryption Algorithm) Header Parameter.
199199

200200
| Name | Type | Description |
201201
| :------ | :------ | :------ |
202-
| `iv` | [`Uint8Array`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) | JWE Initialization Vector. |
202+
| `iv` | [`Uint8Array`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array ) | JWE Initialization Vector. |
203203

204204
#### Returns
205205

@@ -222,7 +222,7 @@ Set the "iat" (Issued At) Claim.
222222

223223
| Name | Type | Description |
224224
| :------ | :------ | :------ |
225-
| `input?` | `number` \| [`Date`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date ) | "iat" (Issued At) Claim value to set on the JWT Claims Set. Default is current timestamp. |
225+
| `input?` | `number` \| [`Date`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date ) | "iat" (Issued At) Claim value to set on the JWT Claims Set. Default is current timestamp. |
226226

227227
#### Returns
228228

@@ -297,7 +297,7 @@ Set the "nbf" (Not Before) Claim.
297297

298298
| Name | Type | Description |
299299
| :------ | :------ | :------ |
300-
| `input` | `string` \| `number` \| [`Date`]( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date ) | "nbf" (Not Before) Claim value to set on the JWT Claims Set. When number is passed that is used as a value, when string is passed it is resolved to a time span and added to the current timestamp. |
300+
| `input` | `string` \| `number` \| [`Date`]( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date ) | "nbf" (Not Before) Claim value to set on the JWT Claims Set. When number is passed that is used as a value, when string is passed it is resolved to a time span and added to the current timestamp. |
301301

302302
#### Returns
303303

0 commit comments

Comments
 (0)