@navios/jwt 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,31 +1,41 @@
1
+ import { $loose } from 'zod/v4/core';
2
+ import { $strip } from 'zod/v4/core';
1
3
  import type { BoundInjectionToken } from '@navios/core';
2
4
  import type { FactoryInjectionToken } from '@navios/core';
3
5
  import { InjectionToken } from '@navios/core';
4
6
  import jwt from 'jsonwebtoken';
5
7
  import { LoggerInstance } from '@navios/core';
6
- import { objectInputType } from 'zod';
7
- import { objectOutputType } from 'zod';
8
8
  import type { Secret as Secret_2 } from 'jsonwebtoken';
9
- import { z } from 'zod';
10
- import { ZodAny } from 'zod';
11
- import { ZodArray } from 'zod';
12
- import { ZodBoolean } from 'zod';
13
- import { ZodEnum } from 'zod';
14
- import { ZodFunction } from 'zod';
15
- import { ZodNativeEnum } from 'zod';
16
- import { ZodNumber } from 'zod';
17
- import { ZodObject } from 'zod';
18
- import { ZodOptional } from 'zod';
19
- import { ZodPromise } from 'zod';
20
- import { ZodString } from 'zod';
21
- import { ZodTuple } from 'zod';
22
- import { ZodType } from 'zod';
23
- import { ZodTypeAny } from 'zod';
24
- import { ZodTypeDef } from 'zod';
25
- import { ZodUnion } from 'zod';
26
- import { ZodUnknown } from 'zod';
9
+ import { z } from 'zod/v4';
10
+ import { ZodAny } from 'zod/v4';
11
+ import { ZodArray } from 'zod/v4';
12
+ import { ZodBoolean } from 'zod/v4';
13
+ import { ZodCustom } from 'zod/v4';
14
+ import { ZodEnum } from 'zod/v4';
15
+ import { ZodFunction } from 'zod/v4';
16
+ import { ZodNumber } from 'zod/v4';
17
+ import { ZodObject } from 'zod/v4';
18
+ import { ZodOptional } from 'zod/v4';
19
+ import { ZodPromise } from 'zod/v4';
20
+ import { ZodString } from 'zod/v4';
21
+ import { ZodTuple } from 'zod/v4';
22
+ import { ZodUnion } from 'zod/v4';
27
23
 
28
- declare const AlgorithmType: z.ZodEnum<["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512", "none"]>;
24
+ declare const AlgorithmType: z.ZodEnum<{
25
+ HS256: "HS256";
26
+ HS384: "HS384";
27
+ HS512: "HS512";
28
+ RS256: "RS256";
29
+ RS384: "RS384";
30
+ RS512: "RS512";
31
+ ES256: "ES256";
32
+ ES384: "ES384";
33
+ ES512: "ES512";
34
+ PS256: "PS256";
35
+ PS384: "PS384";
36
+ PS512: "PS512";
37
+ none: "none";
38
+ }>;
29
39
  export { AlgorithmType }
30
40
  export { AlgorithmType as AlgorithmType_alias_1 }
31
41
 
@@ -40,39 +50,31 @@ export { JwtHeader }
40
50
  export { JwtHeader as JwtHeader_alias_1 }
41
51
 
42
52
  declare const JwtHeaderSchema: z.ZodObject<{
43
- alg: z.ZodUnion<[z.ZodEnum<["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512", "none"]>, z.ZodString]>;
53
+ alg: z.ZodUnion<[z.ZodEnum<{
54
+ HS256: "HS256";
55
+ HS384: "HS384";
56
+ HS512: "HS512";
57
+ RS256: "RS256";
58
+ RS384: "RS384";
59
+ RS512: "RS512";
60
+ ES256: "ES256";
61
+ ES384: "ES384";
62
+ ES512: "ES512";
63
+ PS256: "PS256";
64
+ PS384: "PS384";
65
+ PS512: "PS512";
66
+ none: "none";
67
+ }>, z.ZodString]>;
44
68
  typ: z.ZodOptional<z.ZodString>;
45
69
  cty: z.ZodOptional<z.ZodString>;
46
- crit: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
70
+ crit: z.ZodOptional<z.ZodArray<z.ZodString>>;
47
71
  kid: z.ZodOptional<z.ZodString>;
48
72
  jku: z.ZodOptional<z.ZodString>;
49
- x5u: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
73
+ x5u: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
50
74
  'x5t#S256': z.ZodOptional<z.ZodString>;
51
75
  x5t: z.ZodOptional<z.ZodString>;
52
- x5c: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
53
- }, "strip", z.ZodTypeAny, {
54
- alg: string;
55
- typ?: string | undefined;
56
- cty?: string | undefined;
57
- crit?: string[] | undefined;
58
- kid?: string | undefined;
59
- jku?: string | undefined;
60
- x5u?: string | string[] | undefined;
61
- 'x5t#S256'?: string | undefined;
62
- x5t?: string | undefined;
63
- x5c?: string | string[] | undefined;
64
- }, {
65
- alg: string;
66
- typ?: string | undefined;
67
- cty?: string | undefined;
68
- crit?: string[] | undefined;
69
- kid?: string | undefined;
70
- jku?: string | undefined;
71
- x5u?: string | string[] | undefined;
72
- 'x5t#S256'?: string | undefined;
73
- x5t?: string | undefined;
74
- x5c?: string | string[] | undefined;
75
- }>;
76
+ x5c: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
77
+ }, z.core.$strip>;
76
78
  export { JwtHeaderSchema }
77
79
  export { JwtHeaderSchema as JwtHeaderSchema_alias_1 }
78
80
 
@@ -99,1089 +101,381 @@ export { JwtServiceOptions as JwtServiceOptions_alias_1 }
99
101
 
100
102
  declare const JwtServiceOptionsSchema: z.ZodObject<{
101
103
  signOptions: z.ZodOptional<z.ZodObject<{
102
- algorithm: z.ZodOptional<z.ZodEnum<["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512", "none"]>>;
104
+ algorithm: z.ZodOptional<z.ZodEnum<{
105
+ HS256: "HS256";
106
+ HS384: "HS384";
107
+ HS512: "HS512";
108
+ RS256: "RS256";
109
+ RS384: "RS384";
110
+ RS512: "RS512";
111
+ ES256: "ES256";
112
+ ES384: "ES384";
113
+ ES512: "ES512";
114
+ PS256: "PS256";
115
+ PS384: "PS384";
116
+ PS512: "PS512";
117
+ none: "none";
118
+ }>>;
103
119
  keyid: z.ZodOptional<z.ZodString>;
104
- expiresIn: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
105
- notBefore: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
106
- audience: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
120
+ expiresIn: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
121
+ notBefore: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
122
+ audience: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<RegExp, RegExp>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<RegExp, RegExp>]>>]>>;
107
123
  subject: z.ZodOptional<z.ZodString>;
108
124
  issuer: z.ZodOptional<z.ZodString>;
109
125
  jwtid: z.ZodOptional<z.ZodString>;
110
126
  mutatePayload: z.ZodOptional<z.ZodBoolean>;
111
127
  noTimestamp: z.ZodOptional<z.ZodBoolean>;
112
128
  header: z.ZodOptional<z.ZodObject<{
113
- alg: z.ZodUnion<[z.ZodEnum<["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512", "none"]>, z.ZodString]>;
129
+ alg: z.ZodUnion<[z.ZodEnum<{
130
+ HS256: "HS256";
131
+ HS384: "HS384";
132
+ HS512: "HS512";
133
+ RS256: "RS256";
134
+ RS384: "RS384";
135
+ RS512: "RS512";
136
+ ES256: "ES256";
137
+ ES384: "ES384";
138
+ ES512: "ES512";
139
+ PS256: "PS256";
140
+ PS384: "PS384";
141
+ PS512: "PS512";
142
+ none: "none";
143
+ }>, z.ZodString]>;
114
144
  typ: z.ZodOptional<z.ZodString>;
115
145
  cty: z.ZodOptional<z.ZodString>;
116
- crit: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
146
+ crit: z.ZodOptional<z.ZodArray<z.ZodString>>;
117
147
  kid: z.ZodOptional<z.ZodString>;
118
148
  jku: z.ZodOptional<z.ZodString>;
119
- x5u: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
149
+ x5u: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
120
150
  'x5t#S256': z.ZodOptional<z.ZodString>;
121
151
  x5t: z.ZodOptional<z.ZodString>;
122
- x5c: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
123
- }, "strip", z.ZodTypeAny, {
124
- alg: string;
125
- typ?: string | undefined;
126
- cty?: string | undefined;
127
- crit?: string[] | undefined;
128
- kid?: string | undefined;
129
- jku?: string | undefined;
130
- x5u?: string | string[] | undefined;
131
- 'x5t#S256'?: string | undefined;
132
- x5t?: string | undefined;
133
- x5c?: string | string[] | undefined;
134
- }, {
135
- alg: string;
136
- typ?: string | undefined;
137
- cty?: string | undefined;
138
- crit?: string[] | undefined;
139
- kid?: string | undefined;
140
- jku?: string | undefined;
141
- x5u?: string | string[] | undefined;
142
- 'x5t#S256'?: string | undefined;
143
- x5t?: string | undefined;
144
- x5c?: string | string[] | undefined;
145
- }>>;
152
+ x5c: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
153
+ }, z.core.$strip>>;
146
154
  encoding: z.ZodOptional<z.ZodString>;
147
155
  allowInsecureKeySizes: z.ZodOptional<z.ZodBoolean>;
148
156
  allowInvalidAsymmetricKeyTypes: z.ZodOptional<z.ZodBoolean>;
149
- }, "strip", z.ZodTypeAny, {
150
- algorithm?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none" | undefined;
151
- keyid?: string | undefined;
152
- expiresIn?: string | number | undefined;
153
- notBefore?: string | number | undefined;
154
- audience?: string | string[] | undefined;
155
- subject?: string | undefined;
156
- issuer?: string | undefined;
157
- jwtid?: string | undefined;
158
- mutatePayload?: boolean | undefined;
159
- noTimestamp?: boolean | undefined;
160
- header?: {
161
- alg: string;
162
- typ?: string | undefined;
163
- cty?: string | undefined;
164
- crit?: string[] | undefined;
165
- kid?: string | undefined;
166
- jku?: string | undefined;
167
- x5u?: string | string[] | undefined;
168
- 'x5t#S256'?: string | undefined;
169
- x5t?: string | undefined;
170
- x5c?: string | string[] | undefined;
171
- } | undefined;
172
- encoding?: string | undefined;
173
- allowInsecureKeySizes?: boolean | undefined;
174
- allowInvalidAsymmetricKeyTypes?: boolean | undefined;
175
- }, {
176
- algorithm?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none" | undefined;
177
- keyid?: string | undefined;
178
- expiresIn?: string | number | undefined;
179
- notBefore?: string | number | undefined;
180
- audience?: string | string[] | undefined;
181
- subject?: string | undefined;
182
- issuer?: string | undefined;
183
- jwtid?: string | undefined;
184
- mutatePayload?: boolean | undefined;
185
- noTimestamp?: boolean | undefined;
186
- header?: {
187
- alg: string;
188
- typ?: string | undefined;
189
- cty?: string | undefined;
190
- crit?: string[] | undefined;
191
- kid?: string | undefined;
192
- jku?: string | undefined;
193
- x5u?: string | string[] | undefined;
194
- 'x5t#S256'?: string | undefined;
195
- x5t?: string | undefined;
196
- x5c?: string | string[] | undefined;
197
- } | undefined;
198
- encoding?: string | undefined;
199
- allowInsecureKeySizes?: boolean | undefined;
200
- allowInvalidAsymmetricKeyTypes?: boolean | undefined;
201
- }>>;
157
+ }, z.core.$strip>>;
202
158
  secret: z.ZodOptional<z.ZodString>;
203
- publicKey: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Buffer<ArrayBufferLike>, z.ZodTypeDef, Buffer<ArrayBufferLike>>]>>;
204
- privateKey: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Buffer<ArrayBufferLike>, z.ZodTypeDef, Buffer<ArrayBufferLike>>, z.ZodObject<{
205
- type: z.ZodString;
206
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
159
+ publicKey: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>]>>;
160
+ privateKey: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>, z.ZodObject<{
207
161
  type: z.ZodString;
208
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
209
- type: z.ZodString;
210
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
211
- key: z.ZodUnion<[z.ZodString, z.ZodType<Buffer<ArrayBufferLike>, z.ZodTypeDef, Buffer<ArrayBufferLike>>]>;
162
+ }, z.core.$loose>, z.ZodObject<{
163
+ key: z.ZodUnion<readonly [z.ZodString, z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>]>;
212
164
  passphrase: z.ZodString;
213
- }, "strip", z.ZodTypeAny, {
214
- key: string | Buffer<ArrayBufferLike>;
215
- passphrase: string;
216
- }, {
217
- key: string | Buffer<ArrayBufferLike>;
218
- passphrase: string;
219
- }>]>>;
165
+ }, z.core.$strip>]>>;
220
166
  verifyOptions: z.ZodOptional<z.ZodObject<{
221
- algorithms: z.ZodOptional<z.ZodArray<z.ZodEnum<["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512", "none"]>, "many">>;
222
- audience: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodArray<z.ZodString, "many">]>>;
167
+ algorithms: z.ZodOptional<z.ZodArray<z.ZodEnum<{
168
+ HS256: "HS256";
169
+ HS384: "HS384";
170
+ HS512: "HS512";
171
+ RS256: "RS256";
172
+ RS384: "RS384";
173
+ RS512: "RS512";
174
+ ES256: "ES256";
175
+ ES384: "ES384";
176
+ ES512: "ES512";
177
+ PS256: "PS256";
178
+ PS384: "PS384";
179
+ PS512: "PS512";
180
+ none: "none";
181
+ }>>>;
182
+ audience: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<RegExp, RegExp>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<RegExp, RegExp>]>>]>>;
223
183
  clockTimestamp: z.ZodOptional<z.ZodNumber>;
224
184
  clockTolerance: z.ZodOptional<z.ZodNumber>;
225
185
  complete: z.ZodOptional<z.ZodBoolean>;
226
- issuer: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
186
+ issuer: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
227
187
  ignoreExpiration: z.ZodOptional<z.ZodBoolean>;
228
188
  ignoreNotBefore: z.ZodOptional<z.ZodBoolean>;
229
189
  jwtid: z.ZodOptional<z.ZodString>;
230
190
  nonce: z.ZodOptional<z.ZodString>;
231
191
  subject: z.ZodOptional<z.ZodString>;
232
- maxAge: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
192
+ maxAge: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
233
193
  allowInvalidAsymmetricKeyTypes: z.ZodOptional<z.ZodBoolean>;
234
- }, "strip", z.ZodTypeAny, {
235
- audience?: string | RegExp | string[] | undefined;
236
- subject?: string | undefined;
237
- issuer?: string | string[] | undefined;
238
- jwtid?: string | undefined;
239
- allowInvalidAsymmetricKeyTypes?: boolean | undefined;
240
- algorithms?: ("HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none")[] | undefined;
241
- clockTimestamp?: number | undefined;
242
- clockTolerance?: number | undefined;
243
- complete?: boolean | undefined;
244
- ignoreExpiration?: boolean | undefined;
245
- ignoreNotBefore?: boolean | undefined;
246
- nonce?: string | undefined;
247
- maxAge?: string | number | undefined;
248
- }, {
249
- audience?: string | RegExp | string[] | undefined;
250
- subject?: string | undefined;
251
- issuer?: string | string[] | undefined;
252
- jwtid?: string | undefined;
253
- allowInvalidAsymmetricKeyTypes?: boolean | undefined;
254
- algorithms?: ("HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none")[] | undefined;
255
- clockTimestamp?: number | undefined;
256
- clockTolerance?: number | undefined;
257
- complete?: boolean | undefined;
258
- ignoreExpiration?: boolean | undefined;
259
- ignoreNotBefore?: boolean | undefined;
260
- nonce?: string | undefined;
261
- maxAge?: string | number | undefined;
262
- }>>;
263
- secretOrKeyProvider: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodNativeEnum<typeof RequestType>, z.ZodAny, z.ZodOptional<z.ZodUnion<[z.ZodObject<{
264
- algorithm: z.ZodOptional<z.ZodEnum<["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512", "none"]>>;
194
+ }, z.core.$strip>>;
195
+ secretOrKeyProvider: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodEnum<typeof RequestType>, z.ZodAny, z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
196
+ algorithm: z.ZodOptional<z.ZodEnum<{
197
+ HS256: "HS256";
198
+ HS384: "HS384";
199
+ HS512: "HS512";
200
+ RS256: "RS256";
201
+ RS384: "RS384";
202
+ RS512: "RS512";
203
+ ES256: "ES256";
204
+ ES384: "ES384";
205
+ ES512: "ES512";
206
+ PS256: "PS256";
207
+ PS384: "PS384";
208
+ PS512: "PS512";
209
+ none: "none";
210
+ }>>;
265
211
  keyid: z.ZodOptional<z.ZodString>;
266
- expiresIn: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
267
- notBefore: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
268
- audience: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
212
+ expiresIn: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
213
+ notBefore: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
214
+ audience: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<RegExp, RegExp>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<RegExp, RegExp>]>>]>>;
269
215
  subject: z.ZodOptional<z.ZodString>;
270
216
  issuer: z.ZodOptional<z.ZodString>;
271
217
  jwtid: z.ZodOptional<z.ZodString>;
272
218
  mutatePayload: z.ZodOptional<z.ZodBoolean>;
273
219
  noTimestamp: z.ZodOptional<z.ZodBoolean>;
274
220
  header: z.ZodOptional<z.ZodObject<{
275
- alg: z.ZodUnion<[z.ZodEnum<["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512", "none"]>, z.ZodString]>;
221
+ alg: z.ZodUnion<[z.ZodEnum<{
222
+ HS256: "HS256";
223
+ HS384: "HS384";
224
+ HS512: "HS512";
225
+ RS256: "RS256";
226
+ RS384: "RS384";
227
+ RS512: "RS512";
228
+ ES256: "ES256";
229
+ ES384: "ES384";
230
+ ES512: "ES512";
231
+ PS256: "PS256";
232
+ PS384: "PS384";
233
+ PS512: "PS512";
234
+ none: "none";
235
+ }>, z.ZodString]>;
276
236
  typ: z.ZodOptional<z.ZodString>;
277
237
  cty: z.ZodOptional<z.ZodString>;
278
- crit: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
238
+ crit: z.ZodOptional<z.ZodArray<z.ZodString>>;
279
239
  kid: z.ZodOptional<z.ZodString>;
280
240
  jku: z.ZodOptional<z.ZodString>;
281
- x5u: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
241
+ x5u: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
282
242
  'x5t#S256': z.ZodOptional<z.ZodString>;
283
243
  x5t: z.ZodOptional<z.ZodString>;
284
- x5c: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
285
- }, "strip", z.ZodTypeAny, {
286
- alg: string;
287
- typ?: string | undefined;
288
- cty?: string | undefined;
289
- crit?: string[] | undefined;
290
- kid?: string | undefined;
291
- jku?: string | undefined;
292
- x5u?: string | string[] | undefined;
293
- 'x5t#S256'?: string | undefined;
294
- x5t?: string | undefined;
295
- x5c?: string | string[] | undefined;
296
- }, {
297
- alg: string;
298
- typ?: string | undefined;
299
- cty?: string | undefined;
300
- crit?: string[] | undefined;
301
- kid?: string | undefined;
302
- jku?: string | undefined;
303
- x5u?: string | string[] | undefined;
304
- 'x5t#S256'?: string | undefined;
305
- x5t?: string | undefined;
306
- x5c?: string | string[] | undefined;
307
- }>>;
244
+ x5c: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
245
+ }, z.core.$strip>>;
308
246
  encoding: z.ZodOptional<z.ZodString>;
309
247
  allowInsecureKeySizes: z.ZodOptional<z.ZodBoolean>;
310
248
  allowInvalidAsymmetricKeyTypes: z.ZodOptional<z.ZodBoolean>;
311
- }, "strip", z.ZodTypeAny, {
312
- algorithm?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none" | undefined;
313
- keyid?: string | undefined;
314
- expiresIn?: string | number | undefined;
315
- notBefore?: string | number | undefined;
316
- audience?: string | string[] | undefined;
317
- subject?: string | undefined;
318
- issuer?: string | undefined;
319
- jwtid?: string | undefined;
320
- mutatePayload?: boolean | undefined;
321
- noTimestamp?: boolean | undefined;
322
- header?: {
323
- alg: string;
324
- typ?: string | undefined;
325
- cty?: string | undefined;
326
- crit?: string[] | undefined;
327
- kid?: string | undefined;
328
- jku?: string | undefined;
329
- x5u?: string | string[] | undefined;
330
- 'x5t#S256'?: string | undefined;
331
- x5t?: string | undefined;
332
- x5c?: string | string[] | undefined;
333
- } | undefined;
334
- encoding?: string | undefined;
335
- allowInsecureKeySizes?: boolean | undefined;
336
- allowInvalidAsymmetricKeyTypes?: boolean | undefined;
337
- }, {
338
- algorithm?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none" | undefined;
339
- keyid?: string | undefined;
340
- expiresIn?: string | number | undefined;
341
- notBefore?: string | number | undefined;
342
- audience?: string | string[] | undefined;
343
- subject?: string | undefined;
344
- issuer?: string | undefined;
345
- jwtid?: string | undefined;
346
- mutatePayload?: boolean | undefined;
347
- noTimestamp?: boolean | undefined;
348
- header?: {
349
- alg: string;
350
- typ?: string | undefined;
351
- cty?: string | undefined;
352
- crit?: string[] | undefined;
353
- kid?: string | undefined;
354
- jku?: string | undefined;
355
- x5u?: string | string[] | undefined;
356
- 'x5t#S256'?: string | undefined;
357
- x5t?: string | undefined;
358
- x5c?: string | string[] | undefined;
359
- } | undefined;
360
- encoding?: string | undefined;
361
- allowInsecureKeySizes?: boolean | undefined;
362
- allowInvalidAsymmetricKeyTypes?: boolean | undefined;
363
- }>, z.ZodObject<{
364
- algorithms: z.ZodOptional<z.ZodArray<z.ZodEnum<["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512", "none"]>, "many">>;
365
- audience: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodArray<z.ZodString, "many">]>>;
249
+ }, z.core.$strip>, z.ZodObject<{
250
+ algorithms: z.ZodOptional<z.ZodArray<z.ZodEnum<{
251
+ HS256: "HS256";
252
+ HS384: "HS384";
253
+ HS512: "HS512";
254
+ RS256: "RS256";
255
+ RS384: "RS384";
256
+ RS512: "RS512";
257
+ ES256: "ES256";
258
+ ES384: "ES384";
259
+ ES512: "ES512";
260
+ PS256: "PS256";
261
+ PS384: "PS384";
262
+ PS512: "PS512";
263
+ none: "none";
264
+ }>>>;
265
+ audience: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<RegExp, RegExp>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<RegExp, RegExp>]>>]>>;
366
266
  clockTimestamp: z.ZodOptional<z.ZodNumber>;
367
267
  clockTolerance: z.ZodOptional<z.ZodNumber>;
368
268
  complete: z.ZodOptional<z.ZodBoolean>;
369
- issuer: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
269
+ issuer: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
370
270
  ignoreExpiration: z.ZodOptional<z.ZodBoolean>;
371
271
  ignoreNotBefore: z.ZodOptional<z.ZodBoolean>;
372
272
  jwtid: z.ZodOptional<z.ZodString>;
373
273
  nonce: z.ZodOptional<z.ZodString>;
374
274
  subject: z.ZodOptional<z.ZodString>;
375
- maxAge: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
275
+ maxAge: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
376
276
  allowInvalidAsymmetricKeyTypes: z.ZodOptional<z.ZodBoolean>;
377
- }, "strip", z.ZodTypeAny, {
378
- audience?: string | RegExp | string[] | undefined;
379
- subject?: string | undefined;
380
- issuer?: string | string[] | undefined;
381
- jwtid?: string | undefined;
382
- allowInvalidAsymmetricKeyTypes?: boolean | undefined;
383
- algorithms?: ("HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none")[] | undefined;
384
- clockTimestamp?: number | undefined;
385
- clockTolerance?: number | undefined;
386
- complete?: boolean | undefined;
387
- ignoreExpiration?: boolean | undefined;
388
- ignoreNotBefore?: boolean | undefined;
389
- nonce?: string | undefined;
390
- maxAge?: string | number | undefined;
391
- }, {
392
- audience?: string | RegExp | string[] | undefined;
393
- subject?: string | undefined;
394
- issuer?: string | string[] | undefined;
395
- jwtid?: string | undefined;
396
- allowInvalidAsymmetricKeyTypes?: boolean | undefined;
397
- algorithms?: ("HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none")[] | undefined;
398
- clockTimestamp?: number | undefined;
399
- clockTolerance?: number | undefined;
400
- complete?: boolean | undefined;
401
- ignoreExpiration?: boolean | undefined;
402
- ignoreNotBefore?: boolean | undefined;
403
- nonce?: string | undefined;
404
- maxAge?: string | number | undefined;
405
- }>]>>], z.ZodUnknown>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<Buffer<ArrayBufferLike>, z.ZodTypeDef, Buffer<ArrayBufferLike>>, z.ZodObject<{
406
- type: z.ZodString;
407
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
277
+ }, z.core.$strip>]>>], null>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>, z.ZodObject<{
408
278
  type: z.ZodString;
409
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
410
- type: z.ZodString;
411
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
412
- key: z.ZodUnion<[z.ZodString, z.ZodType<Buffer<ArrayBufferLike>, z.ZodTypeDef, Buffer<ArrayBufferLike>>]>;
279
+ }, z.core.$loose>, z.ZodObject<{
280
+ key: z.ZodUnion<readonly [z.ZodString, z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>]>;
413
281
  passphrase: z.ZodString;
414
- }, "strip", z.ZodTypeAny, {
415
- key: string | Buffer<ArrayBufferLike>;
416
- passphrase: string;
417
- }, {
418
- key: string | Buffer<ArrayBufferLike>;
419
- passphrase: string;
420
- }>]>, z.ZodPromise<z.ZodUnion<[z.ZodString, z.ZodType<Buffer<ArrayBufferLike>, z.ZodTypeDef, Buffer<ArrayBufferLike>>, z.ZodObject<{
421
- type: z.ZodString;
422
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
423
- type: z.ZodString;
424
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
282
+ }, z.core.$strip>]>, z.ZodPromise<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>, z.ZodObject<{
425
283
  type: z.ZodString;
426
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
427
- key: z.ZodUnion<[z.ZodString, z.ZodType<Buffer<ArrayBufferLike>, z.ZodTypeDef, Buffer<ArrayBufferLike>>]>;
284
+ }, z.core.$loose>, z.ZodObject<{
285
+ key: z.ZodUnion<readonly [z.ZodString, z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>]>;
428
286
  passphrase: z.ZodString;
429
- }, "strip", z.ZodTypeAny, {
430
- key: string | Buffer<ArrayBufferLike>;
431
- passphrase: string;
432
- }, {
433
- key: string | Buffer<ArrayBufferLike>;
434
- passphrase: string;
435
- }>]>>]>>>;
436
- }, "strip", z.ZodTypeAny, {
437
- signOptions?: {
438
- algorithm?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none" | undefined;
439
- keyid?: string | undefined;
440
- expiresIn?: string | number | undefined;
441
- notBefore?: string | number | undefined;
442
- audience?: string | string[] | undefined;
443
- subject?: string | undefined;
444
- issuer?: string | undefined;
445
- jwtid?: string | undefined;
446
- mutatePayload?: boolean | undefined;
447
- noTimestamp?: boolean | undefined;
448
- header?: {
449
- alg: string;
450
- typ?: string | undefined;
451
- cty?: string | undefined;
452
- crit?: string[] | undefined;
453
- kid?: string | undefined;
454
- jku?: string | undefined;
455
- x5u?: string | string[] | undefined;
456
- 'x5t#S256'?: string | undefined;
457
- x5t?: string | undefined;
458
- x5c?: string | string[] | undefined;
459
- } | undefined;
460
- encoding?: string | undefined;
461
- allowInsecureKeySizes?: boolean | undefined;
462
- allowInvalidAsymmetricKeyTypes?: boolean | undefined;
463
- } | undefined;
464
- secret?: string | undefined;
465
- publicKey?: string | Buffer<ArrayBufferLike> | undefined;
466
- privateKey?: string | Buffer<ArrayBufferLike> | z.objectOutputType<{
467
- type: z.ZodString;
468
- }, z.ZodTypeAny, "passthrough"> | {
469
- key: string | Buffer<ArrayBufferLike>;
470
- passphrase: string;
471
- } | undefined;
472
- verifyOptions?: {
473
- audience?: string | RegExp | string[] | undefined;
474
- subject?: string | undefined;
475
- issuer?: string | string[] | undefined;
476
- jwtid?: string | undefined;
477
- allowInvalidAsymmetricKeyTypes?: boolean | undefined;
478
- algorithms?: ("HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none")[] | undefined;
479
- clockTimestamp?: number | undefined;
480
- clockTolerance?: number | undefined;
481
- complete?: boolean | undefined;
482
- ignoreExpiration?: boolean | undefined;
483
- ignoreNotBefore?: boolean | undefined;
484
- nonce?: string | undefined;
485
- maxAge?: string | number | undefined;
486
- } | undefined;
487
- secretOrKeyProvider?: ((args_0: RequestType, args_1: any, args_2: {
488
- algorithm?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none" | undefined;
489
- keyid?: string | undefined;
490
- expiresIn?: string | number | undefined;
491
- notBefore?: string | number | undefined;
492
- audience?: string | string[] | undefined;
493
- subject?: string | undefined;
494
- issuer?: string | undefined;
495
- jwtid?: string | undefined;
496
- mutatePayload?: boolean | undefined;
497
- noTimestamp?: boolean | undefined;
498
- header?: {
499
- alg: string;
500
- typ?: string | undefined;
501
- cty?: string | undefined;
502
- crit?: string[] | undefined;
503
- kid?: string | undefined;
504
- jku?: string | undefined;
505
- x5u?: string | string[] | undefined;
506
- 'x5t#S256'?: string | undefined;
507
- x5t?: string | undefined;
508
- x5c?: string | string[] | undefined;
509
- } | undefined;
510
- encoding?: string | undefined;
511
- allowInsecureKeySizes?: boolean | undefined;
512
- allowInvalidAsymmetricKeyTypes?: boolean | undefined;
513
- } | {
514
- audience?: string | RegExp | string[] | undefined;
515
- subject?: string | undefined;
516
- issuer?: string | string[] | undefined;
517
- jwtid?: string | undefined;
518
- allowInvalidAsymmetricKeyTypes?: boolean | undefined;
519
- algorithms?: ("HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none")[] | undefined;
520
- clockTimestamp?: number | undefined;
521
- clockTolerance?: number | undefined;
522
- complete?: boolean | undefined;
523
- ignoreExpiration?: boolean | undefined;
524
- ignoreNotBefore?: boolean | undefined;
525
- nonce?: string | undefined;
526
- maxAge?: string | number | undefined;
527
- } | undefined, ...args: unknown[]) => string | Buffer<ArrayBufferLike> | z.objectOutputType<{
528
- type: z.ZodString;
529
- }, z.ZodTypeAny, "passthrough"> | {
530
- key: string | Buffer<ArrayBufferLike>;
531
- passphrase: string;
532
- } | Promise<string | Buffer<ArrayBufferLike> | z.objectOutputType<{
533
- type: z.ZodString;
534
- }, z.ZodTypeAny, "passthrough"> | {
535
- key: string | Buffer<ArrayBufferLike>;
536
- passphrase: string;
537
- }>) | undefined;
538
- }, {
539
- signOptions?: {
540
- algorithm?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none" | undefined;
541
- keyid?: string | undefined;
542
- expiresIn?: string | number | undefined;
543
- notBefore?: string | number | undefined;
544
- audience?: string | string[] | undefined;
545
- subject?: string | undefined;
546
- issuer?: string | undefined;
547
- jwtid?: string | undefined;
548
- mutatePayload?: boolean | undefined;
549
- noTimestamp?: boolean | undefined;
550
- header?: {
551
- alg: string;
552
- typ?: string | undefined;
553
- cty?: string | undefined;
554
- crit?: string[] | undefined;
555
- kid?: string | undefined;
556
- jku?: string | undefined;
557
- x5u?: string | string[] | undefined;
558
- 'x5t#S256'?: string | undefined;
559
- x5t?: string | undefined;
560
- x5c?: string | string[] | undefined;
561
- } | undefined;
562
- encoding?: string | undefined;
563
- allowInsecureKeySizes?: boolean | undefined;
564
- allowInvalidAsymmetricKeyTypes?: boolean | undefined;
565
- } | undefined;
566
- secret?: string | undefined;
567
- publicKey?: string | Buffer<ArrayBufferLike> | undefined;
568
- privateKey?: string | Buffer<ArrayBufferLike> | z.objectInputType<{
569
- type: z.ZodString;
570
- }, z.ZodTypeAny, "passthrough"> | {
571
- key: string | Buffer<ArrayBufferLike>;
572
- passphrase: string;
573
- } | undefined;
574
- verifyOptions?: {
575
- audience?: string | RegExp | string[] | undefined;
576
- subject?: string | undefined;
577
- issuer?: string | string[] | undefined;
578
- jwtid?: string | undefined;
579
- allowInvalidAsymmetricKeyTypes?: boolean | undefined;
580
- algorithms?: ("HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none")[] | undefined;
581
- clockTimestamp?: number | undefined;
582
- clockTolerance?: number | undefined;
583
- complete?: boolean | undefined;
584
- ignoreExpiration?: boolean | undefined;
585
- ignoreNotBefore?: boolean | undefined;
586
- nonce?: string | undefined;
587
- maxAge?: string | number | undefined;
588
- } | undefined;
589
- secretOrKeyProvider?: ((args_0: RequestType, args_1: any, args_2: {
590
- algorithm?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none" | undefined;
591
- keyid?: string | undefined;
592
- expiresIn?: string | number | undefined;
593
- notBefore?: string | number | undefined;
594
- audience?: string | string[] | undefined;
595
- subject?: string | undefined;
596
- issuer?: string | undefined;
597
- jwtid?: string | undefined;
598
- mutatePayload?: boolean | undefined;
599
- noTimestamp?: boolean | undefined;
600
- header?: {
601
- alg: string;
602
- typ?: string | undefined;
603
- cty?: string | undefined;
604
- crit?: string[] | undefined;
605
- kid?: string | undefined;
606
- jku?: string | undefined;
607
- x5u?: string | string[] | undefined;
608
- 'x5t#S256'?: string | undefined;
609
- x5t?: string | undefined;
610
- x5c?: string | string[] | undefined;
611
- } | undefined;
612
- encoding?: string | undefined;
613
- allowInsecureKeySizes?: boolean | undefined;
614
- allowInvalidAsymmetricKeyTypes?: boolean | undefined;
615
- } | {
616
- audience?: string | RegExp | string[] | undefined;
617
- subject?: string | undefined;
618
- issuer?: string | string[] | undefined;
619
- jwtid?: string | undefined;
620
- allowInvalidAsymmetricKeyTypes?: boolean | undefined;
621
- algorithms?: ("HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none")[] | undefined;
622
- clockTimestamp?: number | undefined;
623
- clockTolerance?: number | undefined;
624
- complete?: boolean | undefined;
625
- ignoreExpiration?: boolean | undefined;
626
- ignoreNotBefore?: boolean | undefined;
627
- nonce?: string | undefined;
628
- maxAge?: string | number | undefined;
629
- } | undefined, ...args: unknown[]) => string | Buffer<ArrayBufferLike> | z.objectInputType<{
630
- type: z.ZodString;
631
- }, z.ZodTypeAny, "passthrough"> | {
632
- key: string | Buffer<ArrayBufferLike>;
633
- passphrase: string;
634
- } | Promise<string | Buffer<ArrayBufferLike> | z.objectInputType<{
635
- type: z.ZodString;
636
- }, z.ZodTypeAny, "passthrough"> | {
637
- key: string | Buffer<ArrayBufferLike>;
638
- passphrase: string;
639
- }>) | undefined;
640
- }>;
287
+ }, z.core.$strip>]>>]>>>;
288
+ }, z.core.$strip>;
641
289
  export { JwtServiceOptionsSchema }
642
290
  export { JwtServiceOptionsSchema as JwtServiceOptionsSchema_alias_1 }
643
291
 
644
292
  declare const JwtServiceToken: InjectionToken<unknown, ZodObject< {
645
293
  signOptions: ZodOptional<ZodObject< {
646
- algorithm: ZodOptional<ZodEnum<["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512", "none"]>>;
294
+ algorithm: ZodOptional<ZodEnum< {
295
+ HS256: "HS256";
296
+ HS384: "HS384";
297
+ HS512: "HS512";
298
+ RS256: "RS256";
299
+ RS384: "RS384";
300
+ RS512: "RS512";
301
+ ES256: "ES256";
302
+ ES384: "ES384";
303
+ ES512: "ES512";
304
+ PS256: "PS256";
305
+ PS384: "PS384";
306
+ PS512: "PS512";
307
+ none: "none";
308
+ }>>;
647
309
  keyid: ZodOptional<ZodString>;
648
- expiresIn: ZodOptional<ZodUnion<[ZodString, ZodNumber]>>;
649
- notBefore: ZodOptional<ZodUnion<[ZodString, ZodNumber]>>;
650
- audience: ZodOptional<ZodUnion<[ZodString, ZodArray<ZodString, "many">]>>;
310
+ expiresIn: ZodOptional<ZodUnion<readonly [ZodString, ZodNumber]>>;
311
+ notBefore: ZodOptional<ZodUnion<readonly [ZodString, ZodNumber]>>;
312
+ audience: ZodOptional<ZodUnion<readonly [ZodString, ZodCustom<RegExp, RegExp>, ZodArray<ZodUnion<readonly [ZodString, ZodCustom<RegExp, RegExp>]>>]>>;
651
313
  subject: ZodOptional<ZodString>;
652
314
  issuer: ZodOptional<ZodString>;
653
315
  jwtid: ZodOptional<ZodString>;
654
316
  mutatePayload: ZodOptional<ZodBoolean>;
655
317
  noTimestamp: ZodOptional<ZodBoolean>;
656
318
  header: ZodOptional<ZodObject< {
657
- alg: ZodUnion<[ZodEnum<["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512", "none"]>, ZodString]>;
319
+ alg: ZodUnion<[ZodEnum< {
320
+ HS256: "HS256";
321
+ HS384: "HS384";
322
+ HS512: "HS512";
323
+ RS256: "RS256";
324
+ RS384: "RS384";
325
+ RS512: "RS512";
326
+ ES256: "ES256";
327
+ ES384: "ES384";
328
+ ES512: "ES512";
329
+ PS256: "PS256";
330
+ PS384: "PS384";
331
+ PS512: "PS512";
332
+ none: "none";
333
+ }>, ZodString]>;
658
334
  typ: ZodOptional<ZodString>;
659
335
  cty: ZodOptional<ZodString>;
660
- crit: ZodOptional<ZodArray<ZodString, "many">>;
336
+ crit: ZodOptional<ZodArray<ZodString>>;
661
337
  kid: ZodOptional<ZodString>;
662
338
  jku: ZodOptional<ZodString>;
663
- x5u: ZodOptional<ZodUnion<[ZodString, ZodArray<ZodString, "many">]>>;
339
+ x5u: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>]>>;
664
340
  'x5t#S256': ZodOptional<ZodString>;
665
341
  x5t: ZodOptional<ZodString>;
666
- x5c: ZodOptional<ZodUnion<[ZodString, ZodArray<ZodString, "many">]>>;
667
- }, "strip", ZodTypeAny, {
668
- alg: string;
669
- typ?: string | undefined;
670
- cty?: string | undefined;
671
- crit?: string[] | undefined;
672
- kid?: string | undefined;
673
- jku?: string | undefined;
674
- x5u?: string | string[] | undefined;
675
- 'x5t#S256'?: string | undefined;
676
- x5t?: string | undefined;
677
- x5c?: string | string[] | undefined;
678
- }, {
679
- alg: string;
680
- typ?: string | undefined;
681
- cty?: string | undefined;
682
- crit?: string[] | undefined;
683
- kid?: string | undefined;
684
- jku?: string | undefined;
685
- x5u?: string | string[] | undefined;
686
- 'x5t#S256'?: string | undefined;
687
- x5t?: string | undefined;
688
- x5c?: string | string[] | undefined;
689
- }>>;
342
+ x5c: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>]>>;
343
+ }, $strip>>;
690
344
  encoding: ZodOptional<ZodString>;
691
345
  allowInsecureKeySizes: ZodOptional<ZodBoolean>;
692
346
  allowInvalidAsymmetricKeyTypes: ZodOptional<ZodBoolean>;
693
- }, "strip", ZodTypeAny, {
694
- algorithm?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none" | undefined;
695
- keyid?: string | undefined;
696
- expiresIn?: string | number | undefined;
697
- notBefore?: string | number | undefined;
698
- audience?: string | string[] | undefined;
699
- subject?: string | undefined;
700
- issuer?: string | undefined;
701
- jwtid?: string | undefined;
702
- mutatePayload?: boolean | undefined;
703
- noTimestamp?: boolean | undefined;
704
- header?: {
705
- alg: string;
706
- typ?: string | undefined;
707
- cty?: string | undefined;
708
- crit?: string[] | undefined;
709
- kid?: string | undefined;
710
- jku?: string | undefined;
711
- x5u?: string | string[] | undefined;
712
- 'x5t#S256'?: string | undefined;
713
- x5t?: string | undefined;
714
- x5c?: string | string[] | undefined;
715
- } | undefined;
716
- encoding?: string | undefined;
717
- allowInsecureKeySizes?: boolean | undefined;
718
- allowInvalidAsymmetricKeyTypes?: boolean | undefined;
719
- }, {
720
- algorithm?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none" | undefined;
721
- keyid?: string | undefined;
722
- expiresIn?: string | number | undefined;
723
- notBefore?: string | number | undefined;
724
- audience?: string | string[] | undefined;
725
- subject?: string | undefined;
726
- issuer?: string | undefined;
727
- jwtid?: string | undefined;
728
- mutatePayload?: boolean | undefined;
729
- noTimestamp?: boolean | undefined;
730
- header?: {
731
- alg: string;
732
- typ?: string | undefined;
733
- cty?: string | undefined;
734
- crit?: string[] | undefined;
735
- kid?: string | undefined;
736
- jku?: string | undefined;
737
- x5u?: string | string[] | undefined;
738
- 'x5t#S256'?: string | undefined;
739
- x5t?: string | undefined;
740
- x5c?: string | string[] | undefined;
741
- } | undefined;
742
- encoding?: string | undefined;
743
- allowInsecureKeySizes?: boolean | undefined;
744
- allowInvalidAsymmetricKeyTypes?: boolean | undefined;
745
- }>>;
347
+ }, $strip>>;
746
348
  secret: ZodOptional<ZodString>;
747
- publicKey: ZodOptional<ZodUnion<[ZodString, ZodType<Buffer<ArrayBufferLike>, ZodTypeDef, Buffer<ArrayBufferLike>>]>>;
748
- privateKey: ZodOptional<ZodUnion<[ZodString, ZodType<Buffer<ArrayBufferLike>, ZodTypeDef, Buffer<ArrayBufferLike>>, ZodObject< {
749
- type: ZodString;
750
- }, "passthrough", ZodTypeAny, objectOutputType< {
349
+ publicKey: ZodOptional<ZodUnion<readonly [ZodString, ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>]>>;
350
+ privateKey: ZodOptional<ZodUnion<readonly [ZodString, ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>, ZodObject< {
751
351
  type: ZodString;
752
- }, ZodTypeAny, "passthrough">, objectInputType< {
753
- type: ZodString;
754
- }, ZodTypeAny, "passthrough">>, ZodObject< {
755
- key: ZodUnion<[ZodString, ZodType<Buffer<ArrayBufferLike>, ZodTypeDef, Buffer<ArrayBufferLike>>]>;
352
+ }, $loose>, ZodObject< {
353
+ key: ZodUnion<readonly [ZodString, ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>]>;
756
354
  passphrase: ZodString;
757
- }, "strip", ZodTypeAny, {
758
- key: string | Buffer<ArrayBufferLike>;
759
- passphrase: string;
760
- }, {
761
- key: string | Buffer<ArrayBufferLike>;
762
- passphrase: string;
763
- }>]>>;
355
+ }, $strip>]>>;
764
356
  verifyOptions: ZodOptional<ZodObject< {
765
- algorithms: ZodOptional<ZodArray<ZodEnum<["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512", "none"]>, "many">>;
766
- audience: ZodOptional<ZodUnion<[ZodString, ZodType<RegExp, ZodTypeDef, RegExp>, ZodArray<ZodString, "many">]>>;
357
+ algorithms: ZodOptional<ZodArray<ZodEnum< {
358
+ HS256: "HS256";
359
+ HS384: "HS384";
360
+ HS512: "HS512";
361
+ RS256: "RS256";
362
+ RS384: "RS384";
363
+ RS512: "RS512";
364
+ ES256: "ES256";
365
+ ES384: "ES384";
366
+ ES512: "ES512";
367
+ PS256: "PS256";
368
+ PS384: "PS384";
369
+ PS512: "PS512";
370
+ none: "none";
371
+ }>>>;
372
+ audience: ZodOptional<ZodUnion<readonly [ZodString, ZodCustom<RegExp, RegExp>, ZodArray<ZodUnion<readonly [ZodString, ZodCustom<RegExp, RegExp>]>>]>>;
767
373
  clockTimestamp: ZodOptional<ZodNumber>;
768
374
  clockTolerance: ZodOptional<ZodNumber>;
769
375
  complete: ZodOptional<ZodBoolean>;
770
- issuer: ZodOptional<ZodUnion<[ZodString, ZodArray<ZodString, "many">]>>;
376
+ issuer: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>]>>;
771
377
  ignoreExpiration: ZodOptional<ZodBoolean>;
772
378
  ignoreNotBefore: ZodOptional<ZodBoolean>;
773
379
  jwtid: ZodOptional<ZodString>;
774
380
  nonce: ZodOptional<ZodString>;
775
381
  subject: ZodOptional<ZodString>;
776
- maxAge: ZodOptional<ZodUnion<[ZodString, ZodNumber]>>;
382
+ maxAge: ZodOptional<ZodUnion<readonly [ZodString, ZodNumber]>>;
777
383
  allowInvalidAsymmetricKeyTypes: ZodOptional<ZodBoolean>;
778
- }, "strip", ZodTypeAny, {
779
- audience?: string | RegExp | string[] | undefined;
780
- subject?: string | undefined;
781
- issuer?: string | string[] | undefined;
782
- jwtid?: string | undefined;
783
- allowInvalidAsymmetricKeyTypes?: boolean | undefined;
784
- algorithms?: ("HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none")[] | undefined;
785
- clockTimestamp?: number | undefined;
786
- clockTolerance?: number | undefined;
787
- complete?: boolean | undefined;
788
- ignoreExpiration?: boolean | undefined;
789
- ignoreNotBefore?: boolean | undefined;
790
- nonce?: string | undefined;
791
- maxAge?: string | number | undefined;
792
- }, {
793
- audience?: string | RegExp | string[] | undefined;
794
- subject?: string | undefined;
795
- issuer?: string | string[] | undefined;
796
- jwtid?: string | undefined;
797
- allowInvalidAsymmetricKeyTypes?: boolean | undefined;
798
- algorithms?: ("HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none")[] | undefined;
799
- clockTimestamp?: number | undefined;
800
- clockTolerance?: number | undefined;
801
- complete?: boolean | undefined;
802
- ignoreExpiration?: boolean | undefined;
803
- ignoreNotBefore?: boolean | undefined;
804
- nonce?: string | undefined;
805
- maxAge?: string | number | undefined;
384
+ }, $strip>>;
385
+ secretOrKeyProvider: ZodOptional<ZodFunction<ZodTuple<[ZodEnum<typeof RequestType>, ZodAny, ZodOptional<ZodUnion<readonly [ZodObject< {
386
+ algorithm: ZodOptional<ZodEnum< {
387
+ HS256: "HS256";
388
+ HS384: "HS384";
389
+ HS512: "HS512";
390
+ RS256: "RS256";
391
+ RS384: "RS384";
392
+ RS512: "RS512";
393
+ ES256: "ES256";
394
+ ES384: "ES384";
395
+ ES512: "ES512";
396
+ PS256: "PS256";
397
+ PS384: "PS384";
398
+ PS512: "PS512";
399
+ none: "none";
806
400
  }>>;
807
- secretOrKeyProvider: ZodOptional<ZodFunction<ZodTuple<[ZodNativeEnum<typeof RequestType>, ZodAny, ZodOptional<ZodUnion<[ZodObject< {
808
- algorithm: ZodOptional<ZodEnum<["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512", "none"]>>;
809
401
  keyid: ZodOptional<ZodString>;
810
- expiresIn: ZodOptional<ZodUnion<[ZodString, ZodNumber]>>;
811
- notBefore: ZodOptional<ZodUnion<[ZodString, ZodNumber]>>;
812
- audience: ZodOptional<ZodUnion<[ZodString, ZodArray<ZodString, "many">]>>;
402
+ expiresIn: ZodOptional<ZodUnion<readonly [ZodString, ZodNumber]>>;
403
+ notBefore: ZodOptional<ZodUnion<readonly [ZodString, ZodNumber]>>;
404
+ audience: ZodOptional<ZodUnion<readonly [ZodString, ZodCustom<RegExp, RegExp>, ZodArray<ZodUnion<readonly [ZodString, ZodCustom<RegExp, RegExp>]>>]>>;
813
405
  subject: ZodOptional<ZodString>;
814
406
  issuer: ZodOptional<ZodString>;
815
407
  jwtid: ZodOptional<ZodString>;
816
408
  mutatePayload: ZodOptional<ZodBoolean>;
817
409
  noTimestamp: ZodOptional<ZodBoolean>;
818
410
  header: ZodOptional<ZodObject< {
819
- alg: ZodUnion<[ZodEnum<["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512", "none"]>, ZodString]>;
411
+ alg: ZodUnion<[ZodEnum< {
412
+ HS256: "HS256";
413
+ HS384: "HS384";
414
+ HS512: "HS512";
415
+ RS256: "RS256";
416
+ RS384: "RS384";
417
+ RS512: "RS512";
418
+ ES256: "ES256";
419
+ ES384: "ES384";
420
+ ES512: "ES512";
421
+ PS256: "PS256";
422
+ PS384: "PS384";
423
+ PS512: "PS512";
424
+ none: "none";
425
+ }>, ZodString]>;
820
426
  typ: ZodOptional<ZodString>;
821
427
  cty: ZodOptional<ZodString>;
822
- crit: ZodOptional<ZodArray<ZodString, "many">>;
428
+ crit: ZodOptional<ZodArray<ZodString>>;
823
429
  kid: ZodOptional<ZodString>;
824
430
  jku: ZodOptional<ZodString>;
825
- x5u: ZodOptional<ZodUnion<[ZodString, ZodArray<ZodString, "many">]>>;
431
+ x5u: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>]>>;
826
432
  'x5t#S256': ZodOptional<ZodString>;
827
433
  x5t: ZodOptional<ZodString>;
828
- x5c: ZodOptional<ZodUnion<[ZodString, ZodArray<ZodString, "many">]>>;
829
- }, "strip", ZodTypeAny, {
830
- alg: string;
831
- typ?: string | undefined;
832
- cty?: string | undefined;
833
- crit?: string[] | undefined;
834
- kid?: string | undefined;
835
- jku?: string | undefined;
836
- x5u?: string | string[] | undefined;
837
- 'x5t#S256'?: string | undefined;
838
- x5t?: string | undefined;
839
- x5c?: string | string[] | undefined;
840
- }, {
841
- alg: string;
842
- typ?: string | undefined;
843
- cty?: string | undefined;
844
- crit?: string[] | undefined;
845
- kid?: string | undefined;
846
- jku?: string | undefined;
847
- x5u?: string | string[] | undefined;
848
- 'x5t#S256'?: string | undefined;
849
- x5t?: string | undefined;
850
- x5c?: string | string[] | undefined;
851
- }>>;
434
+ x5c: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>]>>;
435
+ }, $strip>>;
852
436
  encoding: ZodOptional<ZodString>;
853
437
  allowInsecureKeySizes: ZodOptional<ZodBoolean>;
854
438
  allowInvalidAsymmetricKeyTypes: ZodOptional<ZodBoolean>;
855
- }, "strip", ZodTypeAny, {
856
- algorithm?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none" | undefined;
857
- keyid?: string | undefined;
858
- expiresIn?: string | number | undefined;
859
- notBefore?: string | number | undefined;
860
- audience?: string | string[] | undefined;
861
- subject?: string | undefined;
862
- issuer?: string | undefined;
863
- jwtid?: string | undefined;
864
- mutatePayload?: boolean | undefined;
865
- noTimestamp?: boolean | undefined;
866
- header?: {
867
- alg: string;
868
- typ?: string | undefined;
869
- cty?: string | undefined;
870
- crit?: string[] | undefined;
871
- kid?: string | undefined;
872
- jku?: string | undefined;
873
- x5u?: string | string[] | undefined;
874
- 'x5t#S256'?: string | undefined;
875
- x5t?: string | undefined;
876
- x5c?: string | string[] | undefined;
877
- } | undefined;
878
- encoding?: string | undefined;
879
- allowInsecureKeySizes?: boolean | undefined;
880
- allowInvalidAsymmetricKeyTypes?: boolean | undefined;
881
- }, {
882
- algorithm?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none" | undefined;
883
- keyid?: string | undefined;
884
- expiresIn?: string | number | undefined;
885
- notBefore?: string | number | undefined;
886
- audience?: string | string[] | undefined;
887
- subject?: string | undefined;
888
- issuer?: string | undefined;
889
- jwtid?: string | undefined;
890
- mutatePayload?: boolean | undefined;
891
- noTimestamp?: boolean | undefined;
892
- header?: {
893
- alg: string;
894
- typ?: string | undefined;
895
- cty?: string | undefined;
896
- crit?: string[] | undefined;
897
- kid?: string | undefined;
898
- jku?: string | undefined;
899
- x5u?: string | string[] | undefined;
900
- 'x5t#S256'?: string | undefined;
901
- x5t?: string | undefined;
902
- x5c?: string | string[] | undefined;
903
- } | undefined;
904
- encoding?: string | undefined;
905
- allowInsecureKeySizes?: boolean | undefined;
906
- allowInvalidAsymmetricKeyTypes?: boolean | undefined;
907
- }>, ZodObject< {
908
- algorithms: ZodOptional<ZodArray<ZodEnum<["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512", "none"]>, "many">>;
909
- audience: ZodOptional<ZodUnion<[ZodString, ZodType<RegExp, ZodTypeDef, RegExp>, ZodArray<ZodString, "many">]>>;
439
+ }, $strip>, ZodObject< {
440
+ algorithms: ZodOptional<ZodArray<ZodEnum< {
441
+ HS256: "HS256";
442
+ HS384: "HS384";
443
+ HS512: "HS512";
444
+ RS256: "RS256";
445
+ RS384: "RS384";
446
+ RS512: "RS512";
447
+ ES256: "ES256";
448
+ ES384: "ES384";
449
+ ES512: "ES512";
450
+ PS256: "PS256";
451
+ PS384: "PS384";
452
+ PS512: "PS512";
453
+ none: "none";
454
+ }>>>;
455
+ audience: ZodOptional<ZodUnion<readonly [ZodString, ZodCustom<RegExp, RegExp>, ZodArray<ZodUnion<readonly [ZodString, ZodCustom<RegExp, RegExp>]>>]>>;
910
456
  clockTimestamp: ZodOptional<ZodNumber>;
911
457
  clockTolerance: ZodOptional<ZodNumber>;
912
458
  complete: ZodOptional<ZodBoolean>;
913
- issuer: ZodOptional<ZodUnion<[ZodString, ZodArray<ZodString, "many">]>>;
459
+ issuer: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>]>>;
914
460
  ignoreExpiration: ZodOptional<ZodBoolean>;
915
461
  ignoreNotBefore: ZodOptional<ZodBoolean>;
916
462
  jwtid: ZodOptional<ZodString>;
917
463
  nonce: ZodOptional<ZodString>;
918
464
  subject: ZodOptional<ZodString>;
919
- maxAge: ZodOptional<ZodUnion<[ZodString, ZodNumber]>>;
465
+ maxAge: ZodOptional<ZodUnion<readonly [ZodString, ZodNumber]>>;
920
466
  allowInvalidAsymmetricKeyTypes: ZodOptional<ZodBoolean>;
921
- }, "strip", ZodTypeAny, {
922
- audience?: string | RegExp | string[] | undefined;
923
- subject?: string | undefined;
924
- issuer?: string | string[] | undefined;
925
- jwtid?: string | undefined;
926
- allowInvalidAsymmetricKeyTypes?: boolean | undefined;
927
- algorithms?: ("HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none")[] | undefined;
928
- clockTimestamp?: number | undefined;
929
- clockTolerance?: number | undefined;
930
- complete?: boolean | undefined;
931
- ignoreExpiration?: boolean | undefined;
932
- ignoreNotBefore?: boolean | undefined;
933
- nonce?: string | undefined;
934
- maxAge?: string | number | undefined;
935
- }, {
936
- audience?: string | RegExp | string[] | undefined;
937
- subject?: string | undefined;
938
- issuer?: string | string[] | undefined;
939
- jwtid?: string | undefined;
940
- allowInvalidAsymmetricKeyTypes?: boolean | undefined;
941
- algorithms?: ("HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none")[] | undefined;
942
- clockTimestamp?: number | undefined;
943
- clockTolerance?: number | undefined;
944
- complete?: boolean | undefined;
945
- ignoreExpiration?: boolean | undefined;
946
- ignoreNotBefore?: boolean | undefined;
947
- nonce?: string | undefined;
948
- maxAge?: string | number | undefined;
949
- }>]>>], ZodUnknown>, ZodUnion<[ZodUnion<[ZodString, ZodType<Buffer<ArrayBufferLike>, ZodTypeDef, Buffer<ArrayBufferLike>>, ZodObject< {
950
- type: ZodString;
951
- }, "passthrough", ZodTypeAny, objectOutputType< {
467
+ }, $strip>]>>], null>, ZodUnion<readonly [ZodUnion<readonly [ZodString, ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>, ZodObject< {
952
468
  type: ZodString;
953
- }, ZodTypeAny, "passthrough">, objectInputType< {
954
- type: ZodString;
955
- }, ZodTypeAny, "passthrough">>, ZodObject< {
956
- key: ZodUnion<[ZodString, ZodType<Buffer<ArrayBufferLike>, ZodTypeDef, Buffer<ArrayBufferLike>>]>;
469
+ }, $loose>, ZodObject< {
470
+ key: ZodUnion<readonly [ZodString, ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>]>;
957
471
  passphrase: ZodString;
958
- }, "strip", ZodTypeAny, {
959
- key: string | Buffer<ArrayBufferLike>;
960
- passphrase: string;
961
- }, {
962
- key: string | Buffer<ArrayBufferLike>;
963
- passphrase: string;
964
- }>]>, ZodPromise<ZodUnion<[ZodString, ZodType<Buffer<ArrayBufferLike>, ZodTypeDef, Buffer<ArrayBufferLike>>, ZodObject< {
965
- type: ZodString;
966
- }, "passthrough", ZodTypeAny, objectOutputType< {
967
- type: ZodString;
968
- }, ZodTypeAny, "passthrough">, objectInputType< {
472
+ }, $strip>]>, ZodPromise<ZodUnion<readonly [ZodString, ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>, ZodObject< {
969
473
  type: ZodString;
970
- }, ZodTypeAny, "passthrough">>, ZodObject< {
971
- key: ZodUnion<[ZodString, ZodType<Buffer<ArrayBufferLike>, ZodTypeDef, Buffer<ArrayBufferLike>>]>;
474
+ }, $loose>, ZodObject< {
475
+ key: ZodUnion<readonly [ZodString, ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>]>;
972
476
  passphrase: ZodString;
973
- }, "strip", ZodTypeAny, {
974
- key: string | Buffer<ArrayBufferLike>;
975
- passphrase: string;
976
- }, {
977
- key: string | Buffer<ArrayBufferLike>;
978
- passphrase: string;
979
- }>]>>]>>>;
980
- }, "strip", ZodTypeAny, {
981
- signOptions?: {
982
- algorithm?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none" | undefined;
983
- keyid?: string | undefined;
984
- expiresIn?: string | number | undefined;
985
- notBefore?: string | number | undefined;
986
- audience?: string | string[] | undefined;
987
- subject?: string | undefined;
988
- issuer?: string | undefined;
989
- jwtid?: string | undefined;
990
- mutatePayload?: boolean | undefined;
991
- noTimestamp?: boolean | undefined;
992
- header?: {
993
- alg: string;
994
- typ?: string | undefined;
995
- cty?: string | undefined;
996
- crit?: string[] | undefined;
997
- kid?: string | undefined;
998
- jku?: string | undefined;
999
- x5u?: string | string[] | undefined;
1000
- 'x5t#S256'?: string | undefined;
1001
- x5t?: string | undefined;
1002
- x5c?: string | string[] | undefined;
1003
- } | undefined;
1004
- encoding?: string | undefined;
1005
- allowInsecureKeySizes?: boolean | undefined;
1006
- allowInvalidAsymmetricKeyTypes?: boolean | undefined;
1007
- } | undefined;
1008
- secret?: string | undefined;
1009
- publicKey?: string | Buffer<ArrayBufferLike> | undefined;
1010
- privateKey?: string | Buffer<ArrayBufferLike> | objectOutputType< {
1011
- type: ZodString;
1012
- }, ZodTypeAny, "passthrough"> | {
1013
- key: string | Buffer<ArrayBufferLike>;
1014
- passphrase: string;
1015
- } | undefined;
1016
- verifyOptions?: {
1017
- audience?: string | RegExp | string[] | undefined;
1018
- subject?: string | undefined;
1019
- issuer?: string | string[] | undefined;
1020
- jwtid?: string | undefined;
1021
- allowInvalidAsymmetricKeyTypes?: boolean | undefined;
1022
- algorithms?: ("HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none")[] | undefined;
1023
- clockTimestamp?: number | undefined;
1024
- clockTolerance?: number | undefined;
1025
- complete?: boolean | undefined;
1026
- ignoreExpiration?: boolean | undefined;
1027
- ignoreNotBefore?: boolean | undefined;
1028
- nonce?: string | undefined;
1029
- maxAge?: string | number | undefined;
1030
- } | undefined;
1031
- secretOrKeyProvider?: ((args_0: RequestType, args_1: any, args_2: {
1032
- algorithm?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none" | undefined;
1033
- keyid?: string | undefined;
1034
- expiresIn?: string | number | undefined;
1035
- notBefore?: string | number | undefined;
1036
- audience?: string | string[] | undefined;
1037
- subject?: string | undefined;
1038
- issuer?: string | undefined;
1039
- jwtid?: string | undefined;
1040
- mutatePayload?: boolean | undefined;
1041
- noTimestamp?: boolean | undefined;
1042
- header?: {
1043
- alg: string;
1044
- typ?: string | undefined;
1045
- cty?: string | undefined;
1046
- crit?: string[] | undefined;
1047
- kid?: string | undefined;
1048
- jku?: string | undefined;
1049
- x5u?: string | string[] | undefined;
1050
- 'x5t#S256'?: string | undefined;
1051
- x5t?: string | undefined;
1052
- x5c?: string | string[] | undefined;
1053
- } | undefined;
1054
- encoding?: string | undefined;
1055
- allowInsecureKeySizes?: boolean | undefined;
1056
- allowInvalidAsymmetricKeyTypes?: boolean | undefined;
1057
- } | {
1058
- audience?: string | RegExp | string[] | undefined;
1059
- subject?: string | undefined;
1060
- issuer?: string | string[] | undefined;
1061
- jwtid?: string | undefined;
1062
- allowInvalidAsymmetricKeyTypes?: boolean | undefined;
1063
- algorithms?: ("HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none")[] | undefined;
1064
- clockTimestamp?: number | undefined;
1065
- clockTolerance?: number | undefined;
1066
- complete?: boolean | undefined;
1067
- ignoreExpiration?: boolean | undefined;
1068
- ignoreNotBefore?: boolean | undefined;
1069
- nonce?: string | undefined;
1070
- maxAge?: string | number | undefined;
1071
- } | undefined, ...args: unknown[]) => string | Buffer<ArrayBufferLike> | objectOutputType< {
1072
- type: ZodString;
1073
- }, ZodTypeAny, "passthrough"> | {
1074
- key: string | Buffer<ArrayBufferLike>;
1075
- passphrase: string;
1076
- } | Promise<string | Buffer<ArrayBufferLike> | objectOutputType< {
1077
- type: ZodString;
1078
- }, ZodTypeAny, "passthrough"> | {
1079
- key: string | Buffer<ArrayBufferLike>;
1080
- passphrase: string;
1081
- }>) | undefined;
1082
- }, {
1083
- signOptions?: {
1084
- algorithm?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none" | undefined;
1085
- keyid?: string | undefined;
1086
- expiresIn?: string | number | undefined;
1087
- notBefore?: string | number | undefined;
1088
- audience?: string | string[] | undefined;
1089
- subject?: string | undefined;
1090
- issuer?: string | undefined;
1091
- jwtid?: string | undefined;
1092
- mutatePayload?: boolean | undefined;
1093
- noTimestamp?: boolean | undefined;
1094
- header?: {
1095
- alg: string;
1096
- typ?: string | undefined;
1097
- cty?: string | undefined;
1098
- crit?: string[] | undefined;
1099
- kid?: string | undefined;
1100
- jku?: string | undefined;
1101
- x5u?: string | string[] | undefined;
1102
- 'x5t#S256'?: string | undefined;
1103
- x5t?: string | undefined;
1104
- x5c?: string | string[] | undefined;
1105
- } | undefined;
1106
- encoding?: string | undefined;
1107
- allowInsecureKeySizes?: boolean | undefined;
1108
- allowInvalidAsymmetricKeyTypes?: boolean | undefined;
1109
- } | undefined;
1110
- secret?: string | undefined;
1111
- publicKey?: string | Buffer<ArrayBufferLike> | undefined;
1112
- privateKey?: string | Buffer<ArrayBufferLike> | objectInputType< {
1113
- type: ZodString;
1114
- }, ZodTypeAny, "passthrough"> | {
1115
- key: string | Buffer<ArrayBufferLike>;
1116
- passphrase: string;
1117
- } | undefined;
1118
- verifyOptions?: {
1119
- audience?: string | RegExp | string[] | undefined;
1120
- subject?: string | undefined;
1121
- issuer?: string | string[] | undefined;
1122
- jwtid?: string | undefined;
1123
- allowInvalidAsymmetricKeyTypes?: boolean | undefined;
1124
- algorithms?: ("HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none")[] | undefined;
1125
- clockTimestamp?: number | undefined;
1126
- clockTolerance?: number | undefined;
1127
- complete?: boolean | undefined;
1128
- ignoreExpiration?: boolean | undefined;
1129
- ignoreNotBefore?: boolean | undefined;
1130
- nonce?: string | undefined;
1131
- maxAge?: string | number | undefined;
1132
- } | undefined;
1133
- secretOrKeyProvider?: ((args_0: RequestType, args_1: any, args_2: {
1134
- algorithm?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none" | undefined;
1135
- keyid?: string | undefined;
1136
- expiresIn?: string | number | undefined;
1137
- notBefore?: string | number | undefined;
1138
- audience?: string | string[] | undefined;
1139
- subject?: string | undefined;
1140
- issuer?: string | undefined;
1141
- jwtid?: string | undefined;
1142
- mutatePayload?: boolean | undefined;
1143
- noTimestamp?: boolean | undefined;
1144
- header?: {
1145
- alg: string;
1146
- typ?: string | undefined;
1147
- cty?: string | undefined;
1148
- crit?: string[] | undefined;
1149
- kid?: string | undefined;
1150
- jku?: string | undefined;
1151
- x5u?: string | string[] | undefined;
1152
- 'x5t#S256'?: string | undefined;
1153
- x5t?: string | undefined;
1154
- x5c?: string | string[] | undefined;
1155
- } | undefined;
1156
- encoding?: string | undefined;
1157
- allowInsecureKeySizes?: boolean | undefined;
1158
- allowInvalidAsymmetricKeyTypes?: boolean | undefined;
1159
- } | {
1160
- audience?: string | RegExp | string[] | undefined;
1161
- subject?: string | undefined;
1162
- issuer?: string | string[] | undefined;
1163
- jwtid?: string | undefined;
1164
- allowInvalidAsymmetricKeyTypes?: boolean | undefined;
1165
- algorithms?: ("HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none")[] | undefined;
1166
- clockTimestamp?: number | undefined;
1167
- clockTolerance?: number | undefined;
1168
- complete?: boolean | undefined;
1169
- ignoreExpiration?: boolean | undefined;
1170
- ignoreNotBefore?: boolean | undefined;
1171
- nonce?: string | undefined;
1172
- maxAge?: string | number | undefined;
1173
- } | undefined, ...args: unknown[]) => string | Buffer<ArrayBufferLike> | objectInputType< {
1174
- type: ZodString;
1175
- }, ZodTypeAny, "passthrough"> | {
1176
- key: string | Buffer<ArrayBufferLike>;
1177
- passphrase: string;
1178
- } | Promise<string | Buffer<ArrayBufferLike> | objectInputType< {
1179
- type: ZodString;
1180
- }, ZodTypeAny, "passthrough"> | {
1181
- key: string | Buffer<ArrayBufferLike>;
1182
- passphrase: string;
1183
- }>) | undefined;
1184
- }>, true>;
477
+ }, $strip>]>>]>>>;
478
+ }, $strip>, true>;
1185
479
  export { JwtServiceToken }
1186
480
  export { JwtServiceToken as JwtServiceToken_alias_1 }
1187
481
 
@@ -1201,7 +495,9 @@ export { JwtVerifyOptions as JwtVerifyOptions_alias_1 }
1201
495
 
1202
496
  export declare const NotBeforeError: typeof jwt.NotBeforeError;
1203
497
 
1204
- declare function provideJwtService(config: JwtServiceOptions | (() => Promise<JwtServiceOptions>)): BoundInjectionToken<JwtService, typeof JwtServiceOptionsSchema> | FactoryInjectionToken<JwtService, typeof JwtServiceOptionsSchema>;
498
+ declare function provideJwtService(config: JwtServiceOptions): BoundInjectionToken<JwtService, typeof JwtServiceOptionsSchema>;
499
+
500
+ declare function provideJwtService(config: () => Promise<JwtServiceOptions>): FactoryInjectionToken<JwtService, typeof JwtServiceOptionsSchema>;
1205
501
  export { provideJwtService }
1206
502
  export { provideJwtService as provideJwtService_alias_1 }
1207
503
 
@@ -1216,22 +512,12 @@ declare type Secret = z.infer<typeof SecretSchema>;
1216
512
  export { Secret }
1217
513
  export { Secret as Secret_alias_1 }
1218
514
 
1219
- declare const SecretSchema: z.ZodUnion<[z.ZodString, z.ZodType<Buffer<ArrayBufferLike>, z.ZodTypeDef, Buffer<ArrayBufferLike>>, z.ZodObject<{
1220
- type: z.ZodString;
1221
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
515
+ declare const SecretSchema: z.ZodUnion<readonly [z.ZodString, z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>, z.ZodObject<{
1222
516
  type: z.ZodString;
1223
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1224
- type: z.ZodString;
1225
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
1226
- key: z.ZodUnion<[z.ZodString, z.ZodType<Buffer<ArrayBufferLike>, z.ZodTypeDef, Buffer<ArrayBufferLike>>]>;
517
+ }, z.core.$loose>, z.ZodObject<{
518
+ key: z.ZodUnion<readonly [z.ZodString, z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>]>;
1227
519
  passphrase: z.ZodString;
1228
- }, "strip", z.ZodTypeAny, {
1229
- key: string | Buffer<ArrayBufferLike>;
1230
- passphrase: string;
1231
- }, {
1232
- key: string | Buffer<ArrayBufferLike>;
1233
- passphrase: string;
1234
- }>]>;
520
+ }, z.core.$strip>]>;
1235
521
  export { SecretSchema }
1236
522
  export { SecretSchema as SecretSchema_alias_1 }
1237
523
 
@@ -1240,106 +526,60 @@ export { SignOptions }
1240
526
  export { SignOptions as SignOptions_alias_1 }
1241
527
 
1242
528
  declare const SignOptionsSchema: z.ZodObject<{
1243
- algorithm: z.ZodOptional<z.ZodEnum<["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512", "none"]>>;
529
+ algorithm: z.ZodOptional<z.ZodEnum<{
530
+ HS256: "HS256";
531
+ HS384: "HS384";
532
+ HS512: "HS512";
533
+ RS256: "RS256";
534
+ RS384: "RS384";
535
+ RS512: "RS512";
536
+ ES256: "ES256";
537
+ ES384: "ES384";
538
+ ES512: "ES512";
539
+ PS256: "PS256";
540
+ PS384: "PS384";
541
+ PS512: "PS512";
542
+ none: "none";
543
+ }>>;
1244
544
  keyid: z.ZodOptional<z.ZodString>;
1245
- expiresIn: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
1246
- notBefore: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
1247
- audience: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
545
+ expiresIn: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
546
+ notBefore: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
547
+ audience: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<RegExp, RegExp>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<RegExp, RegExp>]>>]>>;
1248
548
  subject: z.ZodOptional<z.ZodString>;
1249
549
  issuer: z.ZodOptional<z.ZodString>;
1250
550
  jwtid: z.ZodOptional<z.ZodString>;
1251
551
  mutatePayload: z.ZodOptional<z.ZodBoolean>;
1252
552
  noTimestamp: z.ZodOptional<z.ZodBoolean>;
1253
553
  header: z.ZodOptional<z.ZodObject<{
1254
- alg: z.ZodUnion<[z.ZodEnum<["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512", "none"]>, z.ZodString]>;
554
+ alg: z.ZodUnion<[z.ZodEnum<{
555
+ HS256: "HS256";
556
+ HS384: "HS384";
557
+ HS512: "HS512";
558
+ RS256: "RS256";
559
+ RS384: "RS384";
560
+ RS512: "RS512";
561
+ ES256: "ES256";
562
+ ES384: "ES384";
563
+ ES512: "ES512";
564
+ PS256: "PS256";
565
+ PS384: "PS384";
566
+ PS512: "PS512";
567
+ none: "none";
568
+ }>, z.ZodString]>;
1255
569
  typ: z.ZodOptional<z.ZodString>;
1256
570
  cty: z.ZodOptional<z.ZodString>;
1257
- crit: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
571
+ crit: z.ZodOptional<z.ZodArray<z.ZodString>>;
1258
572
  kid: z.ZodOptional<z.ZodString>;
1259
573
  jku: z.ZodOptional<z.ZodString>;
1260
- x5u: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
574
+ x5u: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
1261
575
  'x5t#S256': z.ZodOptional<z.ZodString>;
1262
576
  x5t: z.ZodOptional<z.ZodString>;
1263
- x5c: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1264
- }, "strip", z.ZodTypeAny, {
1265
- alg: string;
1266
- typ?: string | undefined;
1267
- cty?: string | undefined;
1268
- crit?: string[] | undefined;
1269
- kid?: string | undefined;
1270
- jku?: string | undefined;
1271
- x5u?: string | string[] | undefined;
1272
- 'x5t#S256'?: string | undefined;
1273
- x5t?: string | undefined;
1274
- x5c?: string | string[] | undefined;
1275
- }, {
1276
- alg: string;
1277
- typ?: string | undefined;
1278
- cty?: string | undefined;
1279
- crit?: string[] | undefined;
1280
- kid?: string | undefined;
1281
- jku?: string | undefined;
1282
- x5u?: string | string[] | undefined;
1283
- 'x5t#S256'?: string | undefined;
1284
- x5t?: string | undefined;
1285
- x5c?: string | string[] | undefined;
1286
- }>>;
577
+ x5c: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
578
+ }, z.core.$strip>>;
1287
579
  encoding: z.ZodOptional<z.ZodString>;
1288
580
  allowInsecureKeySizes: z.ZodOptional<z.ZodBoolean>;
1289
581
  allowInvalidAsymmetricKeyTypes: z.ZodOptional<z.ZodBoolean>;
1290
- }, "strip", z.ZodTypeAny, {
1291
- algorithm?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none" | undefined;
1292
- keyid?: string | undefined;
1293
- expiresIn?: string | number | undefined;
1294
- notBefore?: string | number | undefined;
1295
- audience?: string | string[] | undefined;
1296
- subject?: string | undefined;
1297
- issuer?: string | undefined;
1298
- jwtid?: string | undefined;
1299
- mutatePayload?: boolean | undefined;
1300
- noTimestamp?: boolean | undefined;
1301
- header?: {
1302
- alg: string;
1303
- typ?: string | undefined;
1304
- cty?: string | undefined;
1305
- crit?: string[] | undefined;
1306
- kid?: string | undefined;
1307
- jku?: string | undefined;
1308
- x5u?: string | string[] | undefined;
1309
- 'x5t#S256'?: string | undefined;
1310
- x5t?: string | undefined;
1311
- x5c?: string | string[] | undefined;
1312
- } | undefined;
1313
- encoding?: string | undefined;
1314
- allowInsecureKeySizes?: boolean | undefined;
1315
- allowInvalidAsymmetricKeyTypes?: boolean | undefined;
1316
- }, {
1317
- algorithm?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none" | undefined;
1318
- keyid?: string | undefined;
1319
- expiresIn?: string | number | undefined;
1320
- notBefore?: string | number | undefined;
1321
- audience?: string | string[] | undefined;
1322
- subject?: string | undefined;
1323
- issuer?: string | undefined;
1324
- jwtid?: string | undefined;
1325
- mutatePayload?: boolean | undefined;
1326
- noTimestamp?: boolean | undefined;
1327
- header?: {
1328
- alg: string;
1329
- typ?: string | undefined;
1330
- cty?: string | undefined;
1331
- crit?: string[] | undefined;
1332
- kid?: string | undefined;
1333
- jku?: string | undefined;
1334
- x5u?: string | string[] | undefined;
1335
- 'x5t#S256'?: string | undefined;
1336
- x5t?: string | undefined;
1337
- x5c?: string | string[] | undefined;
1338
- } | undefined;
1339
- encoding?: string | undefined;
1340
- allowInsecureKeySizes?: boolean | undefined;
1341
- allowInvalidAsymmetricKeyTypes?: boolean | undefined;
1342
- }>;
582
+ }, z.core.$strip>;
1343
583
  export { SignOptionsSchema }
1344
584
  export { SignOptionsSchema as SignOptionsSchema_alias_1 }
1345
585
 
@@ -1350,48 +590,34 @@ export { VerifyOptions }
1350
590
  export { VerifyOptions as VerifyOptions_alias_1 }
1351
591
 
1352
592
  declare const VerifyOptionsSchema: z.ZodObject<{
1353
- algorithms: z.ZodOptional<z.ZodArray<z.ZodEnum<["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512", "none"]>, "many">>;
1354
- audience: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodArray<z.ZodString, "many">]>>;
593
+ algorithms: z.ZodOptional<z.ZodArray<z.ZodEnum<{
594
+ HS256: "HS256";
595
+ HS384: "HS384";
596
+ HS512: "HS512";
597
+ RS256: "RS256";
598
+ RS384: "RS384";
599
+ RS512: "RS512";
600
+ ES256: "ES256";
601
+ ES384: "ES384";
602
+ ES512: "ES512";
603
+ PS256: "PS256";
604
+ PS384: "PS384";
605
+ PS512: "PS512";
606
+ none: "none";
607
+ }>>>;
608
+ audience: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<RegExp, RegExp>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<RegExp, RegExp>]>>]>>;
1355
609
  clockTimestamp: z.ZodOptional<z.ZodNumber>;
1356
610
  clockTolerance: z.ZodOptional<z.ZodNumber>;
1357
611
  complete: z.ZodOptional<z.ZodBoolean>;
1358
- issuer: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
612
+ issuer: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
1359
613
  ignoreExpiration: z.ZodOptional<z.ZodBoolean>;
1360
614
  ignoreNotBefore: z.ZodOptional<z.ZodBoolean>;
1361
615
  jwtid: z.ZodOptional<z.ZodString>;
1362
616
  nonce: z.ZodOptional<z.ZodString>;
1363
617
  subject: z.ZodOptional<z.ZodString>;
1364
- maxAge: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
618
+ maxAge: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
1365
619
  allowInvalidAsymmetricKeyTypes: z.ZodOptional<z.ZodBoolean>;
1366
- }, "strip", z.ZodTypeAny, {
1367
- audience?: string | RegExp | string[] | undefined;
1368
- subject?: string | undefined;
1369
- issuer?: string | string[] | undefined;
1370
- jwtid?: string | undefined;
1371
- allowInvalidAsymmetricKeyTypes?: boolean | undefined;
1372
- algorithms?: ("HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none")[] | undefined;
1373
- clockTimestamp?: number | undefined;
1374
- clockTolerance?: number | undefined;
1375
- complete?: boolean | undefined;
1376
- ignoreExpiration?: boolean | undefined;
1377
- ignoreNotBefore?: boolean | undefined;
1378
- nonce?: string | undefined;
1379
- maxAge?: string | number | undefined;
1380
- }, {
1381
- audience?: string | RegExp | string[] | undefined;
1382
- subject?: string | undefined;
1383
- issuer?: string | string[] | undefined;
1384
- jwtid?: string | undefined;
1385
- allowInvalidAsymmetricKeyTypes?: boolean | undefined;
1386
- algorithms?: ("HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none")[] | undefined;
1387
- clockTimestamp?: number | undefined;
1388
- clockTolerance?: number | undefined;
1389
- complete?: boolean | undefined;
1390
- ignoreExpiration?: boolean | undefined;
1391
- ignoreNotBefore?: boolean | undefined;
1392
- nonce?: string | undefined;
1393
- maxAge?: string | number | undefined;
1394
- }>;
620
+ }, z.core.$strip>;
1395
621
  export { VerifyOptionsSchema }
1396
622
  export { VerifyOptionsSchema as VerifyOptionsSchema_alias_1 }
1397
623