@navios/jwt 0.3.1 → 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.
- package/dist/src/jwt.service.d.mts +185 -539
- package/dist/src/jwt.service.d.mts.map +1 -1
- package/dist/src/options/jwt-service.options.d.mts +223 -641
- package/dist/src/options/jwt-service.options.d.mts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/lib/_tsup-dts-rollup.d.mts +364 -1140
- package/lib/_tsup-dts-rollup.d.ts +364 -1140
- package/lib/index.js +64 -61
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +9 -6
- package/lib/index.mjs.map +1 -1
- package/package.json +5 -5
- package/src/options/jwt-service.options.mts +9 -8
|
@@ -2,547 +2,193 @@ import { InjectionToken } from '@navios/core';
|
|
|
2
2
|
import jwt from 'jsonwebtoken';
|
|
3
3
|
import type { JwtServiceOptions, JwtSignOptions, JwtVerifyOptions, SignOptions } from './options/jwt-service.options.mjs';
|
|
4
4
|
import { RequestType } from './options/jwt-service.options.mjs';
|
|
5
|
-
export declare const JwtServiceToken: InjectionToken<unknown, import("zod").ZodObject<{
|
|
6
|
-
signOptions: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
7
|
-
algorithm: import("zod").ZodOptional<import("zod").ZodEnum<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
crit: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
22
|
-
kid: import("zod").ZodOptional<import("zod").ZodString>;
|
|
23
|
-
jku: import("zod").ZodOptional<import("zod").ZodString>;
|
|
24
|
-
x5u: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
|
25
|
-
'x5t#S256': import("zod").ZodOptional<import("zod").ZodString>;
|
|
26
|
-
x5t: import("zod").ZodOptional<import("zod").ZodString>;
|
|
27
|
-
x5c: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
|
28
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
29
|
-
alg: string;
|
|
30
|
-
typ?: string | undefined;
|
|
31
|
-
cty?: string | undefined;
|
|
32
|
-
crit?: string[] | undefined;
|
|
33
|
-
kid?: string | undefined;
|
|
34
|
-
jku?: string | undefined;
|
|
35
|
-
x5u?: string | string[] | undefined;
|
|
36
|
-
'x5t#S256'?: string | undefined;
|
|
37
|
-
x5t?: string | undefined;
|
|
38
|
-
x5c?: string | string[] | undefined;
|
|
39
|
-
}, {
|
|
40
|
-
alg: string;
|
|
41
|
-
typ?: string | undefined;
|
|
42
|
-
cty?: string | undefined;
|
|
43
|
-
crit?: string[] | undefined;
|
|
44
|
-
kid?: string | undefined;
|
|
45
|
-
jku?: string | undefined;
|
|
46
|
-
x5u?: string | string[] | undefined;
|
|
47
|
-
'x5t#S256'?: string | undefined;
|
|
48
|
-
x5t?: string | undefined;
|
|
49
|
-
x5c?: string | string[] | undefined;
|
|
5
|
+
export declare const JwtServiceToken: InjectionToken<unknown, import("zod/v4").ZodObject<{
|
|
6
|
+
signOptions: import("zod/v4").ZodOptional<import("zod/v4").ZodObject<{
|
|
7
|
+
algorithm: import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
|
|
8
|
+
HS256: "HS256";
|
|
9
|
+
HS384: "HS384";
|
|
10
|
+
HS512: "HS512";
|
|
11
|
+
RS256: "RS256";
|
|
12
|
+
RS384: "RS384";
|
|
13
|
+
RS512: "RS512";
|
|
14
|
+
ES256: "ES256";
|
|
15
|
+
ES384: "ES384";
|
|
16
|
+
ES512: "ES512";
|
|
17
|
+
PS256: "PS256";
|
|
18
|
+
PS384: "PS384";
|
|
19
|
+
PS512: "PS512";
|
|
20
|
+
none: "none";
|
|
50
21
|
}>>;
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
issuer?: string | string[] | undefined;
|
|
143
|
-
jwtid?: string | undefined;
|
|
144
|
-
allowInvalidAsymmetricKeyTypes?: boolean | undefined;
|
|
145
|
-
algorithms?: ("HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none")[] | undefined;
|
|
146
|
-
clockTimestamp?: number | undefined;
|
|
147
|
-
clockTolerance?: number | undefined;
|
|
148
|
-
complete?: boolean | undefined;
|
|
149
|
-
ignoreExpiration?: boolean | undefined;
|
|
150
|
-
ignoreNotBefore?: boolean | undefined;
|
|
151
|
-
nonce?: string | undefined;
|
|
152
|
-
maxAge?: string | number | undefined;
|
|
153
|
-
}, {
|
|
154
|
-
audience?: string | RegExp | (string | RegExp)[] | undefined;
|
|
155
|
-
subject?: string | undefined;
|
|
156
|
-
issuer?: string | string[] | undefined;
|
|
157
|
-
jwtid?: string | undefined;
|
|
158
|
-
allowInvalidAsymmetricKeyTypes?: boolean | undefined;
|
|
159
|
-
algorithms?: ("HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none")[] | undefined;
|
|
160
|
-
clockTimestamp?: number | undefined;
|
|
161
|
-
clockTolerance?: number | undefined;
|
|
162
|
-
complete?: boolean | undefined;
|
|
163
|
-
ignoreExpiration?: boolean | undefined;
|
|
164
|
-
ignoreNotBefore?: boolean | undefined;
|
|
165
|
-
nonce?: string | undefined;
|
|
166
|
-
maxAge?: string | number | undefined;
|
|
167
|
-
}>>;
|
|
168
|
-
secretOrKeyProvider: import("zod").ZodOptional<import("zod").ZodFunction<import("zod").ZodTuple<[import("zod").ZodNativeEnum<typeof RequestType>, import("zod").ZodAny, import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
169
|
-
algorithm: import("zod").ZodOptional<import("zod").ZodEnum<["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512", "none"]>>;
|
|
170
|
-
keyid: import("zod").ZodOptional<import("zod").ZodString>;
|
|
171
|
-
expiresIn: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
172
|
-
notBefore: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
173
|
-
audience: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodType<RegExp, import("zod").ZodTypeDef, RegExp>, import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodType<RegExp, import("zod").ZodTypeDef, RegExp>]>, "many">]>>;
|
|
174
|
-
subject: import("zod").ZodOptional<import("zod").ZodString>;
|
|
175
|
-
issuer: import("zod").ZodOptional<import("zod").ZodString>;
|
|
176
|
-
jwtid: import("zod").ZodOptional<import("zod").ZodString>;
|
|
177
|
-
mutatePayload: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
178
|
-
noTimestamp: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
179
|
-
header: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
180
|
-
alg: import("zod").ZodUnion<[import("zod").ZodEnum<["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512", "none"]>, import("zod").ZodString]>;
|
|
181
|
-
typ: import("zod").ZodOptional<import("zod").ZodString>;
|
|
182
|
-
cty: import("zod").ZodOptional<import("zod").ZodString>;
|
|
183
|
-
crit: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
184
|
-
kid: import("zod").ZodOptional<import("zod").ZodString>;
|
|
185
|
-
jku: import("zod").ZodOptional<import("zod").ZodString>;
|
|
186
|
-
x5u: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
|
187
|
-
'x5t#S256': import("zod").ZodOptional<import("zod").ZodString>;
|
|
188
|
-
x5t: import("zod").ZodOptional<import("zod").ZodString>;
|
|
189
|
-
x5c: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
|
|
190
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
191
|
-
alg: string;
|
|
192
|
-
typ?: string | undefined;
|
|
193
|
-
cty?: string | undefined;
|
|
194
|
-
crit?: string[] | undefined;
|
|
195
|
-
kid?: string | undefined;
|
|
196
|
-
jku?: string | undefined;
|
|
197
|
-
x5u?: string | string[] | undefined;
|
|
198
|
-
'x5t#S256'?: string | undefined;
|
|
199
|
-
x5t?: string | undefined;
|
|
200
|
-
x5c?: string | string[] | undefined;
|
|
201
|
-
}, {
|
|
202
|
-
alg: string;
|
|
203
|
-
typ?: string | undefined;
|
|
204
|
-
cty?: string | undefined;
|
|
205
|
-
crit?: string[] | undefined;
|
|
206
|
-
kid?: string | undefined;
|
|
207
|
-
jku?: string | undefined;
|
|
208
|
-
x5u?: string | string[] | undefined;
|
|
209
|
-
'x5t#S256'?: string | undefined;
|
|
210
|
-
x5t?: string | undefined;
|
|
211
|
-
x5c?: string | string[] | undefined;
|
|
22
|
+
keyid: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
23
|
+
expiresIn: import("zod/v4").ZodOptional<import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodNumber]>>;
|
|
24
|
+
notBefore: import("zod/v4").ZodOptional<import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodNumber]>>;
|
|
25
|
+
audience: import("zod/v4").ZodOptional<import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodCustom<RegExp, RegExp>, import("zod/v4").ZodArray<import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodCustom<RegExp, RegExp>]>>]>>;
|
|
26
|
+
subject: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
27
|
+
issuer: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
28
|
+
jwtid: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
29
|
+
mutatePayload: import("zod/v4").ZodOptional<import("zod/v4").ZodBoolean>;
|
|
30
|
+
noTimestamp: import("zod/v4").ZodOptional<import("zod/v4").ZodBoolean>;
|
|
31
|
+
header: import("zod/v4").ZodOptional<import("zod/v4").ZodObject<{
|
|
32
|
+
alg: import("zod/v4").ZodUnion<[import("zod/v4").ZodEnum<{
|
|
33
|
+
HS256: "HS256";
|
|
34
|
+
HS384: "HS384";
|
|
35
|
+
HS512: "HS512";
|
|
36
|
+
RS256: "RS256";
|
|
37
|
+
RS384: "RS384";
|
|
38
|
+
RS512: "RS512";
|
|
39
|
+
ES256: "ES256";
|
|
40
|
+
ES384: "ES384";
|
|
41
|
+
ES512: "ES512";
|
|
42
|
+
PS256: "PS256";
|
|
43
|
+
PS384: "PS384";
|
|
44
|
+
PS512: "PS512";
|
|
45
|
+
none: "none";
|
|
46
|
+
}>, import("zod/v4").ZodString]>;
|
|
47
|
+
typ: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
48
|
+
cty: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
49
|
+
crit: import("zod/v4").ZodOptional<import("zod/v4").ZodArray<import("zod/v4").ZodString>>;
|
|
50
|
+
kid: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
51
|
+
jku: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
52
|
+
x5u: import("zod/v4").ZodOptional<import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodArray<import("zod/v4").ZodString>]>>;
|
|
53
|
+
'x5t#S256': import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
54
|
+
x5t: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
55
|
+
x5c: import("zod/v4").ZodOptional<import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodArray<import("zod/v4").ZodString>]>>;
|
|
56
|
+
}, import("zod/v4/core").$strip>>;
|
|
57
|
+
encoding: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
58
|
+
allowInsecureKeySizes: import("zod/v4").ZodOptional<import("zod/v4").ZodBoolean>;
|
|
59
|
+
allowInvalidAsymmetricKeyTypes: import("zod/v4").ZodOptional<import("zod/v4").ZodBoolean>;
|
|
60
|
+
}, import("zod/v4/core").$strip>>;
|
|
61
|
+
secret: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
62
|
+
publicKey: import("zod/v4").ZodOptional<import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>]>>;
|
|
63
|
+
privateKey: import("zod/v4").ZodOptional<import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>, import("zod/v4").ZodObject<{
|
|
64
|
+
type: import("zod/v4").ZodString;
|
|
65
|
+
}, import("zod/v4/core").$loose>, import("zod/v4").ZodObject<{
|
|
66
|
+
key: import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>]>;
|
|
67
|
+
passphrase: import("zod/v4").ZodString;
|
|
68
|
+
}, import("zod/v4/core").$strip>]>>;
|
|
69
|
+
verifyOptions: import("zod/v4").ZodOptional<import("zod/v4").ZodObject<{
|
|
70
|
+
algorithms: import("zod/v4").ZodOptional<import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
|
|
71
|
+
HS256: "HS256";
|
|
72
|
+
HS384: "HS384";
|
|
73
|
+
HS512: "HS512";
|
|
74
|
+
RS256: "RS256";
|
|
75
|
+
RS384: "RS384";
|
|
76
|
+
RS512: "RS512";
|
|
77
|
+
ES256: "ES256";
|
|
78
|
+
ES384: "ES384";
|
|
79
|
+
ES512: "ES512";
|
|
80
|
+
PS256: "PS256";
|
|
81
|
+
PS384: "PS384";
|
|
82
|
+
PS512: "PS512";
|
|
83
|
+
none: "none";
|
|
84
|
+
}>>>;
|
|
85
|
+
audience: import("zod/v4").ZodOptional<import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodCustom<RegExp, RegExp>, import("zod/v4").ZodArray<import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodCustom<RegExp, RegExp>]>>]>>;
|
|
86
|
+
clockTimestamp: import("zod/v4").ZodOptional<import("zod/v4").ZodNumber>;
|
|
87
|
+
clockTolerance: import("zod/v4").ZodOptional<import("zod/v4").ZodNumber>;
|
|
88
|
+
complete: import("zod/v4").ZodOptional<import("zod/v4").ZodBoolean>;
|
|
89
|
+
issuer: import("zod/v4").ZodOptional<import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodArray<import("zod/v4").ZodString>]>>;
|
|
90
|
+
ignoreExpiration: import("zod/v4").ZodOptional<import("zod/v4").ZodBoolean>;
|
|
91
|
+
ignoreNotBefore: import("zod/v4").ZodOptional<import("zod/v4").ZodBoolean>;
|
|
92
|
+
jwtid: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
93
|
+
nonce: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
94
|
+
subject: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
95
|
+
maxAge: import("zod/v4").ZodOptional<import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodNumber]>>;
|
|
96
|
+
allowInvalidAsymmetricKeyTypes: import("zod/v4").ZodOptional<import("zod/v4").ZodBoolean>;
|
|
97
|
+
}, import("zod/v4/core").$strip>>;
|
|
98
|
+
secretOrKeyProvider: import("zod/v4").ZodOptional<import("zod/v4").ZodFunction<import("zod/v4").ZodTuple<[import("zod/v4").ZodEnum<typeof RequestType>, import("zod/v4").ZodAny, import("zod/v4").ZodOptional<import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodObject<{
|
|
99
|
+
algorithm: import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
|
|
100
|
+
HS256: "HS256";
|
|
101
|
+
HS384: "HS384";
|
|
102
|
+
HS512: "HS512";
|
|
103
|
+
RS256: "RS256";
|
|
104
|
+
RS384: "RS384";
|
|
105
|
+
RS512: "RS512";
|
|
106
|
+
ES256: "ES256";
|
|
107
|
+
ES384: "ES384";
|
|
108
|
+
ES512: "ES512";
|
|
109
|
+
PS256: "PS256";
|
|
110
|
+
PS384: "PS384";
|
|
111
|
+
PS512: "PS512";
|
|
112
|
+
none: "none";
|
|
212
113
|
}>>;
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
complete?: boolean | undefined;
|
|
292
|
-
ignoreExpiration?: boolean | undefined;
|
|
293
|
-
ignoreNotBefore?: boolean | undefined;
|
|
294
|
-
nonce?: string | undefined;
|
|
295
|
-
maxAge?: string | number | undefined;
|
|
296
|
-
}, {
|
|
297
|
-
audience?: string | RegExp | (string | RegExp)[] | undefined;
|
|
298
|
-
subject?: string | undefined;
|
|
299
|
-
issuer?: string | string[] | undefined;
|
|
300
|
-
jwtid?: string | undefined;
|
|
301
|
-
allowInvalidAsymmetricKeyTypes?: boolean | undefined;
|
|
302
|
-
algorithms?: ("HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none")[] | undefined;
|
|
303
|
-
clockTimestamp?: number | undefined;
|
|
304
|
-
clockTolerance?: number | undefined;
|
|
305
|
-
complete?: boolean | undefined;
|
|
306
|
-
ignoreExpiration?: boolean | undefined;
|
|
307
|
-
ignoreNotBefore?: boolean | undefined;
|
|
308
|
-
nonce?: string | undefined;
|
|
309
|
-
maxAge?: string | number | undefined;
|
|
310
|
-
}>]>>], import("zod").ZodUnknown>, import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodType<Buffer<ArrayBufferLike>, import("zod").ZodTypeDef, Buffer<ArrayBufferLike>>, import("zod").ZodObject<{
|
|
311
|
-
type: import("zod").ZodString;
|
|
312
|
-
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
313
|
-
type: import("zod").ZodString;
|
|
314
|
-
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
315
|
-
type: import("zod").ZodString;
|
|
316
|
-
}, import("zod").ZodTypeAny, "passthrough">>, import("zod").ZodObject<{
|
|
317
|
-
key: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodType<Buffer<ArrayBufferLike>, import("zod").ZodTypeDef, Buffer<ArrayBufferLike>>]>;
|
|
318
|
-
passphrase: import("zod").ZodString;
|
|
319
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
320
|
-
key: string | Buffer<ArrayBufferLike>;
|
|
321
|
-
passphrase: string;
|
|
322
|
-
}, {
|
|
323
|
-
key: string | Buffer<ArrayBufferLike>;
|
|
324
|
-
passphrase: string;
|
|
325
|
-
}>]>, import("zod").ZodPromise<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodType<Buffer<ArrayBufferLike>, import("zod").ZodTypeDef, Buffer<ArrayBufferLike>>, import("zod").ZodObject<{
|
|
326
|
-
type: import("zod").ZodString;
|
|
327
|
-
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
328
|
-
type: import("zod").ZodString;
|
|
329
|
-
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
330
|
-
type: import("zod").ZodString;
|
|
331
|
-
}, import("zod").ZodTypeAny, "passthrough">>, import("zod").ZodObject<{
|
|
332
|
-
key: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodType<Buffer<ArrayBufferLike>, import("zod").ZodTypeDef, Buffer<ArrayBufferLike>>]>;
|
|
333
|
-
passphrase: import("zod").ZodString;
|
|
334
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
335
|
-
key: string | Buffer<ArrayBufferLike>;
|
|
336
|
-
passphrase: string;
|
|
337
|
-
}, {
|
|
338
|
-
key: string | Buffer<ArrayBufferLike>;
|
|
339
|
-
passphrase: string;
|
|
340
|
-
}>]>>]>>>;
|
|
341
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
342
|
-
signOptions?: {
|
|
343
|
-
algorithm?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none" | undefined;
|
|
344
|
-
keyid?: string | undefined;
|
|
345
|
-
expiresIn?: string | number | undefined;
|
|
346
|
-
notBefore?: string | number | undefined;
|
|
347
|
-
audience?: string | RegExp | (string | RegExp)[] | undefined;
|
|
348
|
-
subject?: string | undefined;
|
|
349
|
-
issuer?: string | undefined;
|
|
350
|
-
jwtid?: string | undefined;
|
|
351
|
-
mutatePayload?: boolean | undefined;
|
|
352
|
-
noTimestamp?: boolean | undefined;
|
|
353
|
-
header?: {
|
|
354
|
-
alg: string;
|
|
355
|
-
typ?: string | undefined;
|
|
356
|
-
cty?: string | undefined;
|
|
357
|
-
crit?: string[] | undefined;
|
|
358
|
-
kid?: string | undefined;
|
|
359
|
-
jku?: string | undefined;
|
|
360
|
-
x5u?: string | string[] | undefined;
|
|
361
|
-
'x5t#S256'?: string | undefined;
|
|
362
|
-
x5t?: string | undefined;
|
|
363
|
-
x5c?: string | string[] | undefined;
|
|
364
|
-
} | undefined;
|
|
365
|
-
encoding?: string | undefined;
|
|
366
|
-
allowInsecureKeySizes?: boolean | undefined;
|
|
367
|
-
allowInvalidAsymmetricKeyTypes?: boolean | undefined;
|
|
368
|
-
} | undefined;
|
|
369
|
-
secret?: string | undefined;
|
|
370
|
-
publicKey?: string | Buffer<ArrayBufferLike> | undefined;
|
|
371
|
-
privateKey?: string | Buffer<ArrayBufferLike> | import("zod").objectOutputType<{
|
|
372
|
-
type: import("zod").ZodString;
|
|
373
|
-
}, import("zod").ZodTypeAny, "passthrough"> | {
|
|
374
|
-
key: string | Buffer<ArrayBufferLike>;
|
|
375
|
-
passphrase: string;
|
|
376
|
-
} | undefined;
|
|
377
|
-
verifyOptions?: {
|
|
378
|
-
audience?: string | RegExp | (string | RegExp)[] | 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
|
-
} | undefined;
|
|
392
|
-
secretOrKeyProvider?: ((args_0: RequestType, args_1: any, args_2: {
|
|
393
|
-
algorithm?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none" | undefined;
|
|
394
|
-
keyid?: string | undefined;
|
|
395
|
-
expiresIn?: string | number | undefined;
|
|
396
|
-
notBefore?: string | number | undefined;
|
|
397
|
-
audience?: string | RegExp | (string | RegExp)[] | undefined;
|
|
398
|
-
subject?: string | undefined;
|
|
399
|
-
issuer?: string | undefined;
|
|
400
|
-
jwtid?: string | undefined;
|
|
401
|
-
mutatePayload?: boolean | undefined;
|
|
402
|
-
noTimestamp?: boolean | undefined;
|
|
403
|
-
header?: {
|
|
404
|
-
alg: string;
|
|
405
|
-
typ?: string | undefined;
|
|
406
|
-
cty?: string | undefined;
|
|
407
|
-
crit?: string[] | undefined;
|
|
408
|
-
kid?: string | undefined;
|
|
409
|
-
jku?: string | undefined;
|
|
410
|
-
x5u?: string | string[] | undefined;
|
|
411
|
-
'x5t#S256'?: string | undefined;
|
|
412
|
-
x5t?: string | undefined;
|
|
413
|
-
x5c?: string | string[] | undefined;
|
|
414
|
-
} | undefined;
|
|
415
|
-
encoding?: string | undefined;
|
|
416
|
-
allowInsecureKeySizes?: boolean | undefined;
|
|
417
|
-
allowInvalidAsymmetricKeyTypes?: boolean | undefined;
|
|
418
|
-
} | {
|
|
419
|
-
audience?: string | RegExp | (string | RegExp)[] | undefined;
|
|
420
|
-
subject?: string | undefined;
|
|
421
|
-
issuer?: string | string[] | undefined;
|
|
422
|
-
jwtid?: string | undefined;
|
|
423
|
-
allowInvalidAsymmetricKeyTypes?: boolean | undefined;
|
|
424
|
-
algorithms?: ("HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none")[] | undefined;
|
|
425
|
-
clockTimestamp?: number | undefined;
|
|
426
|
-
clockTolerance?: number | undefined;
|
|
427
|
-
complete?: boolean | undefined;
|
|
428
|
-
ignoreExpiration?: boolean | undefined;
|
|
429
|
-
ignoreNotBefore?: boolean | undefined;
|
|
430
|
-
nonce?: string | undefined;
|
|
431
|
-
maxAge?: string | number | undefined;
|
|
432
|
-
} | undefined, ...args: unknown[]) => string | Buffer<ArrayBufferLike> | import("zod").objectOutputType<{
|
|
433
|
-
type: import("zod").ZodString;
|
|
434
|
-
}, import("zod").ZodTypeAny, "passthrough"> | {
|
|
435
|
-
key: string | Buffer<ArrayBufferLike>;
|
|
436
|
-
passphrase: string;
|
|
437
|
-
} | Promise<string | Buffer<ArrayBufferLike> | import("zod").objectOutputType<{
|
|
438
|
-
type: import("zod").ZodString;
|
|
439
|
-
}, import("zod").ZodTypeAny, "passthrough"> | {
|
|
440
|
-
key: string | Buffer<ArrayBufferLike>;
|
|
441
|
-
passphrase: string;
|
|
442
|
-
}>) | undefined;
|
|
443
|
-
}, {
|
|
444
|
-
signOptions?: {
|
|
445
|
-
algorithm?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none" | undefined;
|
|
446
|
-
keyid?: string | undefined;
|
|
447
|
-
expiresIn?: string | number | undefined;
|
|
448
|
-
notBefore?: string | number | undefined;
|
|
449
|
-
audience?: string | RegExp | (string | RegExp)[] | undefined;
|
|
450
|
-
subject?: string | undefined;
|
|
451
|
-
issuer?: string | undefined;
|
|
452
|
-
jwtid?: string | undefined;
|
|
453
|
-
mutatePayload?: boolean | undefined;
|
|
454
|
-
noTimestamp?: boolean | undefined;
|
|
455
|
-
header?: {
|
|
456
|
-
alg: string;
|
|
457
|
-
typ?: string | undefined;
|
|
458
|
-
cty?: string | undefined;
|
|
459
|
-
crit?: string[] | undefined;
|
|
460
|
-
kid?: string | undefined;
|
|
461
|
-
jku?: string | undefined;
|
|
462
|
-
x5u?: string | string[] | undefined;
|
|
463
|
-
'x5t#S256'?: string | undefined;
|
|
464
|
-
x5t?: string | undefined;
|
|
465
|
-
x5c?: string | string[] | undefined;
|
|
466
|
-
} | undefined;
|
|
467
|
-
encoding?: string | undefined;
|
|
468
|
-
allowInsecureKeySizes?: boolean | undefined;
|
|
469
|
-
allowInvalidAsymmetricKeyTypes?: boolean | undefined;
|
|
470
|
-
} | undefined;
|
|
471
|
-
secret?: string | undefined;
|
|
472
|
-
publicKey?: string | Buffer<ArrayBufferLike> | undefined;
|
|
473
|
-
privateKey?: string | Buffer<ArrayBufferLike> | import("zod").objectInputType<{
|
|
474
|
-
type: import("zod").ZodString;
|
|
475
|
-
}, import("zod").ZodTypeAny, "passthrough"> | {
|
|
476
|
-
key: string | Buffer<ArrayBufferLike>;
|
|
477
|
-
passphrase: string;
|
|
478
|
-
} | undefined;
|
|
479
|
-
verifyOptions?: {
|
|
480
|
-
audience?: string | RegExp | (string | RegExp)[] | undefined;
|
|
481
|
-
subject?: string | undefined;
|
|
482
|
-
issuer?: string | string[] | undefined;
|
|
483
|
-
jwtid?: string | undefined;
|
|
484
|
-
allowInvalidAsymmetricKeyTypes?: boolean | undefined;
|
|
485
|
-
algorithms?: ("HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none")[] | undefined;
|
|
486
|
-
clockTimestamp?: number | undefined;
|
|
487
|
-
clockTolerance?: number | undefined;
|
|
488
|
-
complete?: boolean | undefined;
|
|
489
|
-
ignoreExpiration?: boolean | undefined;
|
|
490
|
-
ignoreNotBefore?: boolean | undefined;
|
|
491
|
-
nonce?: string | undefined;
|
|
492
|
-
maxAge?: string | number | undefined;
|
|
493
|
-
} | undefined;
|
|
494
|
-
secretOrKeyProvider?: ((args_0: RequestType, args_1: any, args_2: {
|
|
495
|
-
algorithm?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none" | undefined;
|
|
496
|
-
keyid?: string | undefined;
|
|
497
|
-
expiresIn?: string | number | undefined;
|
|
498
|
-
notBefore?: string | number | undefined;
|
|
499
|
-
audience?: string | RegExp | (string | RegExp)[] | undefined;
|
|
500
|
-
subject?: string | undefined;
|
|
501
|
-
issuer?: string | undefined;
|
|
502
|
-
jwtid?: string | undefined;
|
|
503
|
-
mutatePayload?: boolean | undefined;
|
|
504
|
-
noTimestamp?: boolean | undefined;
|
|
505
|
-
header?: {
|
|
506
|
-
alg: string;
|
|
507
|
-
typ?: string | undefined;
|
|
508
|
-
cty?: string | undefined;
|
|
509
|
-
crit?: string[] | undefined;
|
|
510
|
-
kid?: string | undefined;
|
|
511
|
-
jku?: string | undefined;
|
|
512
|
-
x5u?: string | string[] | undefined;
|
|
513
|
-
'x5t#S256'?: string | undefined;
|
|
514
|
-
x5t?: string | undefined;
|
|
515
|
-
x5c?: string | string[] | undefined;
|
|
516
|
-
} | undefined;
|
|
517
|
-
encoding?: string | undefined;
|
|
518
|
-
allowInsecureKeySizes?: boolean | undefined;
|
|
519
|
-
allowInvalidAsymmetricKeyTypes?: boolean | undefined;
|
|
520
|
-
} | {
|
|
521
|
-
audience?: string | RegExp | (string | RegExp)[] | undefined;
|
|
522
|
-
subject?: string | undefined;
|
|
523
|
-
issuer?: string | string[] | undefined;
|
|
524
|
-
jwtid?: string | undefined;
|
|
525
|
-
allowInvalidAsymmetricKeyTypes?: boolean | undefined;
|
|
526
|
-
algorithms?: ("HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "none")[] | undefined;
|
|
527
|
-
clockTimestamp?: number | undefined;
|
|
528
|
-
clockTolerance?: number | undefined;
|
|
529
|
-
complete?: boolean | undefined;
|
|
530
|
-
ignoreExpiration?: boolean | undefined;
|
|
531
|
-
ignoreNotBefore?: boolean | undefined;
|
|
532
|
-
nonce?: string | undefined;
|
|
533
|
-
maxAge?: string | number | undefined;
|
|
534
|
-
} | undefined, ...args: unknown[]) => string | Buffer<ArrayBufferLike> | import("zod").objectInputType<{
|
|
535
|
-
type: import("zod").ZodString;
|
|
536
|
-
}, import("zod").ZodTypeAny, "passthrough"> | {
|
|
537
|
-
key: string | Buffer<ArrayBufferLike>;
|
|
538
|
-
passphrase: string;
|
|
539
|
-
} | Promise<string | Buffer<ArrayBufferLike> | import("zod").objectInputType<{
|
|
540
|
-
type: import("zod").ZodString;
|
|
541
|
-
}, import("zod").ZodTypeAny, "passthrough"> | {
|
|
542
|
-
key: string | Buffer<ArrayBufferLike>;
|
|
543
|
-
passphrase: string;
|
|
544
|
-
}>) | undefined;
|
|
545
|
-
}>, true>;
|
|
114
|
+
keyid: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
115
|
+
expiresIn: import("zod/v4").ZodOptional<import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodNumber]>>;
|
|
116
|
+
notBefore: import("zod/v4").ZodOptional<import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodNumber]>>;
|
|
117
|
+
audience: import("zod/v4").ZodOptional<import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodCustom<RegExp, RegExp>, import("zod/v4").ZodArray<import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodCustom<RegExp, RegExp>]>>]>>;
|
|
118
|
+
subject: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
119
|
+
issuer: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
120
|
+
jwtid: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
121
|
+
mutatePayload: import("zod/v4").ZodOptional<import("zod/v4").ZodBoolean>;
|
|
122
|
+
noTimestamp: import("zod/v4").ZodOptional<import("zod/v4").ZodBoolean>;
|
|
123
|
+
header: import("zod/v4").ZodOptional<import("zod/v4").ZodObject<{
|
|
124
|
+
alg: import("zod/v4").ZodUnion<[import("zod/v4").ZodEnum<{
|
|
125
|
+
HS256: "HS256";
|
|
126
|
+
HS384: "HS384";
|
|
127
|
+
HS512: "HS512";
|
|
128
|
+
RS256: "RS256";
|
|
129
|
+
RS384: "RS384";
|
|
130
|
+
RS512: "RS512";
|
|
131
|
+
ES256: "ES256";
|
|
132
|
+
ES384: "ES384";
|
|
133
|
+
ES512: "ES512";
|
|
134
|
+
PS256: "PS256";
|
|
135
|
+
PS384: "PS384";
|
|
136
|
+
PS512: "PS512";
|
|
137
|
+
none: "none";
|
|
138
|
+
}>, import("zod/v4").ZodString]>;
|
|
139
|
+
typ: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
140
|
+
cty: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
141
|
+
crit: import("zod/v4").ZodOptional<import("zod/v4").ZodArray<import("zod/v4").ZodString>>;
|
|
142
|
+
kid: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
143
|
+
jku: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
144
|
+
x5u: import("zod/v4").ZodOptional<import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodArray<import("zod/v4").ZodString>]>>;
|
|
145
|
+
'x5t#S256': import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
146
|
+
x5t: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
147
|
+
x5c: import("zod/v4").ZodOptional<import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodArray<import("zod/v4").ZodString>]>>;
|
|
148
|
+
}, import("zod/v4/core").$strip>>;
|
|
149
|
+
encoding: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
150
|
+
allowInsecureKeySizes: import("zod/v4").ZodOptional<import("zod/v4").ZodBoolean>;
|
|
151
|
+
allowInvalidAsymmetricKeyTypes: import("zod/v4").ZodOptional<import("zod/v4").ZodBoolean>;
|
|
152
|
+
}, import("zod/v4/core").$strip>, import("zod/v4").ZodObject<{
|
|
153
|
+
algorithms: import("zod/v4").ZodOptional<import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
|
|
154
|
+
HS256: "HS256";
|
|
155
|
+
HS384: "HS384";
|
|
156
|
+
HS512: "HS512";
|
|
157
|
+
RS256: "RS256";
|
|
158
|
+
RS384: "RS384";
|
|
159
|
+
RS512: "RS512";
|
|
160
|
+
ES256: "ES256";
|
|
161
|
+
ES384: "ES384";
|
|
162
|
+
ES512: "ES512";
|
|
163
|
+
PS256: "PS256";
|
|
164
|
+
PS384: "PS384";
|
|
165
|
+
PS512: "PS512";
|
|
166
|
+
none: "none";
|
|
167
|
+
}>>>;
|
|
168
|
+
audience: import("zod/v4").ZodOptional<import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodCustom<RegExp, RegExp>, import("zod/v4").ZodArray<import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodCustom<RegExp, RegExp>]>>]>>;
|
|
169
|
+
clockTimestamp: import("zod/v4").ZodOptional<import("zod/v4").ZodNumber>;
|
|
170
|
+
clockTolerance: import("zod/v4").ZodOptional<import("zod/v4").ZodNumber>;
|
|
171
|
+
complete: import("zod/v4").ZodOptional<import("zod/v4").ZodBoolean>;
|
|
172
|
+
issuer: import("zod/v4").ZodOptional<import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodArray<import("zod/v4").ZodString>]>>;
|
|
173
|
+
ignoreExpiration: import("zod/v4").ZodOptional<import("zod/v4").ZodBoolean>;
|
|
174
|
+
ignoreNotBefore: import("zod/v4").ZodOptional<import("zod/v4").ZodBoolean>;
|
|
175
|
+
jwtid: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
176
|
+
nonce: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
177
|
+
subject: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
178
|
+
maxAge: import("zod/v4").ZodOptional<import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodNumber]>>;
|
|
179
|
+
allowInvalidAsymmetricKeyTypes: import("zod/v4").ZodOptional<import("zod/v4").ZodBoolean>;
|
|
180
|
+
}, import("zod/v4/core").$strip>]>>], null>, import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>, import("zod/v4").ZodObject<{
|
|
181
|
+
type: import("zod/v4").ZodString;
|
|
182
|
+
}, import("zod/v4/core").$loose>, import("zod/v4").ZodObject<{
|
|
183
|
+
key: import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>]>;
|
|
184
|
+
passphrase: import("zod/v4").ZodString;
|
|
185
|
+
}, import("zod/v4/core").$strip>]>, import("zod/v4").ZodPromise<import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>, import("zod/v4").ZodObject<{
|
|
186
|
+
type: import("zod/v4").ZodString;
|
|
187
|
+
}, import("zod/v4/core").$loose>, import("zod/v4").ZodObject<{
|
|
188
|
+
key: import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>]>;
|
|
189
|
+
passphrase: import("zod/v4").ZodString;
|
|
190
|
+
}, import("zod/v4/core").$strip>]>>]>>>;
|
|
191
|
+
}, import("zod/v4/core").$strip>, true>;
|
|
546
192
|
export declare class JwtService {
|
|
547
193
|
private readonly options;
|
|
548
194
|
logger: import("@navios/core").LoggerInstance;
|