@authhero/adapter-interfaces 0.17.0 → 0.18.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.
|
@@ -32,6 +32,8 @@ export declare const baseUserSchema: z.ZodObject<{
|
|
|
32
32
|
linked_to: z.ZodOptional<z.ZodString>;
|
|
33
33
|
profileData: z.ZodOptional<z.ZodString>;
|
|
34
34
|
user_id: z.ZodOptional<z.ZodString>;
|
|
35
|
+
app_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
|
|
36
|
+
user_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
|
|
35
37
|
}, "strip", z.ZodTypeAny, {
|
|
36
38
|
email?: string | undefined;
|
|
37
39
|
name?: string | undefined;
|
|
@@ -44,6 +46,8 @@ export declare const baseUserSchema: z.ZodObject<{
|
|
|
44
46
|
picture?: string | undefined;
|
|
45
47
|
locale?: string | undefined;
|
|
46
48
|
linked_to?: string | undefined;
|
|
49
|
+
app_metadata?: any;
|
|
50
|
+
user_metadata?: any;
|
|
47
51
|
}, {
|
|
48
52
|
email?: string | undefined;
|
|
49
53
|
name?: string | undefined;
|
|
@@ -56,6 +60,8 @@ export declare const baseUserSchema: z.ZodObject<{
|
|
|
56
60
|
picture?: string | undefined;
|
|
57
61
|
locale?: string | undefined;
|
|
58
62
|
linked_to?: string | undefined;
|
|
63
|
+
app_metadata?: any;
|
|
64
|
+
user_metadata?: any;
|
|
59
65
|
}>;
|
|
60
66
|
export type BaseUser = z.infer<typeof baseUserSchema>;
|
|
61
67
|
export declare const userInsertSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -70,6 +76,8 @@ export declare const userInsertSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
70
76
|
linked_to: z.ZodOptional<z.ZodString>;
|
|
71
77
|
profileData: z.ZodOptional<z.ZodString>;
|
|
72
78
|
user_id: z.ZodOptional<z.ZodString>;
|
|
79
|
+
app_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
|
|
80
|
+
user_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
|
|
73
81
|
}, {
|
|
74
82
|
email_verified: z.ZodDefault<z.ZodBoolean>;
|
|
75
83
|
verify_email: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -93,6 +101,8 @@ export declare const userInsertSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
93
101
|
picture?: string | undefined;
|
|
94
102
|
locale?: string | undefined;
|
|
95
103
|
linked_to?: string | undefined;
|
|
104
|
+
app_metadata?: any;
|
|
105
|
+
user_metadata?: any;
|
|
96
106
|
verify_email?: boolean | undefined;
|
|
97
107
|
last_ip?: string | undefined;
|
|
98
108
|
last_login?: string | undefined;
|
|
@@ -111,34 +121,13 @@ export declare const userInsertSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
111
121
|
picture?: string | undefined;
|
|
112
122
|
locale?: string | undefined;
|
|
113
123
|
linked_to?: string | undefined;
|
|
124
|
+
app_metadata?: any;
|
|
125
|
+
user_metadata?: any;
|
|
114
126
|
verify_email?: boolean | undefined;
|
|
115
127
|
last_ip?: string | undefined;
|
|
116
128
|
last_login?: string | undefined;
|
|
117
129
|
}>;
|
|
118
|
-
export declare const userSchema: z.ZodObject<
|
|
119
|
-
email: z.ZodOptional<z.ZodString>;
|
|
120
|
-
username: z.ZodOptional<z.ZodString>;
|
|
121
|
-
given_name: z.ZodOptional<z.ZodString>;
|
|
122
|
-
family_name: z.ZodOptional<z.ZodString>;
|
|
123
|
-
nickname: z.ZodOptional<z.ZodString>;
|
|
124
|
-
name: z.ZodOptional<z.ZodString>;
|
|
125
|
-
picture: z.ZodOptional<z.ZodString>;
|
|
126
|
-
locale: z.ZodOptional<z.ZodString>;
|
|
127
|
-
linked_to: z.ZodOptional<z.ZodString>;
|
|
128
|
-
profileData: z.ZodOptional<z.ZodString>;
|
|
129
|
-
user_id: z.ZodOptional<z.ZodString>;
|
|
130
|
-
}, {
|
|
131
|
-
email_verified: z.ZodDefault<z.ZodBoolean>;
|
|
132
|
-
verify_email: z.ZodOptional<z.ZodBoolean>;
|
|
133
|
-
last_ip: z.ZodOptional<z.ZodString>;
|
|
134
|
-
last_login: z.ZodOptional<z.ZodString>;
|
|
135
|
-
user_id: z.ZodOptional<z.ZodString>;
|
|
136
|
-
provider: z.ZodDefault<z.ZodString>;
|
|
137
|
-
connection: z.ZodDefault<z.ZodString>;
|
|
138
|
-
}>, {
|
|
139
|
-
created_at: z.ZodString;
|
|
140
|
-
updated_at: z.ZodString;
|
|
141
|
-
}>, {
|
|
130
|
+
export declare const userSchema: z.ZodObject<{
|
|
142
131
|
user_id: z.ZodString;
|
|
143
132
|
email: z.ZodString;
|
|
144
133
|
is_social: z.ZodBoolean;
|
|
@@ -216,7 +205,26 @@ export declare const userSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUt
|
|
|
216
205
|
family_name: z.ZodOptional<z.ZodString>;
|
|
217
206
|
}, z.ZodAny, "strip"> | undefined;
|
|
218
207
|
}>, "many">>;
|
|
219
|
-
|
|
208
|
+
created_at: z.ZodString;
|
|
209
|
+
updated_at: z.ZodString;
|
|
210
|
+
username: z.ZodOptional<z.ZodString>;
|
|
211
|
+
given_name: z.ZodOptional<z.ZodString>;
|
|
212
|
+
family_name: z.ZodOptional<z.ZodString>;
|
|
213
|
+
nickname: z.ZodOptional<z.ZodString>;
|
|
214
|
+
name: z.ZodOptional<z.ZodString>;
|
|
215
|
+
picture: z.ZodOptional<z.ZodString>;
|
|
216
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
217
|
+
linked_to: z.ZodOptional<z.ZodString>;
|
|
218
|
+
profileData: z.ZodOptional<z.ZodString>;
|
|
219
|
+
app_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
|
|
220
|
+
user_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
|
|
221
|
+
email_verified: z.ZodDefault<z.ZodBoolean>;
|
|
222
|
+
verify_email: z.ZodOptional<z.ZodBoolean>;
|
|
223
|
+
last_ip: z.ZodOptional<z.ZodString>;
|
|
224
|
+
last_login: z.ZodOptional<z.ZodString>;
|
|
225
|
+
provider: z.ZodDefault<z.ZodString>;
|
|
226
|
+
connection: z.ZodDefault<z.ZodString>;
|
|
227
|
+
}, "strip", z.ZodTypeAny, {
|
|
220
228
|
created_at: string;
|
|
221
229
|
updated_at: string;
|
|
222
230
|
email: string;
|
|
@@ -235,6 +243,8 @@ export declare const userSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUt
|
|
|
235
243
|
picture?: string | undefined;
|
|
236
244
|
locale?: string | undefined;
|
|
237
245
|
linked_to?: string | undefined;
|
|
246
|
+
app_metadata?: any;
|
|
247
|
+
user_metadata?: any;
|
|
238
248
|
verify_email?: boolean | undefined;
|
|
239
249
|
last_ip?: string | undefined;
|
|
240
250
|
last_login?: string | undefined;
|
|
@@ -276,6 +286,8 @@ export declare const userSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUt
|
|
|
276
286
|
picture?: string | undefined;
|
|
277
287
|
locale?: string | undefined;
|
|
278
288
|
linked_to?: string | undefined;
|
|
289
|
+
app_metadata?: any;
|
|
290
|
+
user_metadata?: any;
|
|
279
291
|
verify_email?: boolean | undefined;
|
|
280
292
|
last_ip?: string | undefined;
|
|
281
293
|
last_login?: string | undefined;
|
|
@@ -300,30 +312,7 @@ export declare const userSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUt
|
|
|
300
312
|
}[] | undefined;
|
|
301
313
|
}>;
|
|
302
314
|
export type User = z.infer<typeof userSchema>;
|
|
303
|
-
export declare const auth0UserResponseSchema: z.ZodObject<
|
|
304
|
-
email: z.ZodOptional<z.ZodString>;
|
|
305
|
-
username: z.ZodOptional<z.ZodString>;
|
|
306
|
-
given_name: z.ZodOptional<z.ZodString>;
|
|
307
|
-
family_name: z.ZodOptional<z.ZodString>;
|
|
308
|
-
nickname: z.ZodOptional<z.ZodString>;
|
|
309
|
-
name: z.ZodOptional<z.ZodString>;
|
|
310
|
-
picture: z.ZodOptional<z.ZodString>;
|
|
311
|
-
locale: z.ZodOptional<z.ZodString>;
|
|
312
|
-
linked_to: z.ZodOptional<z.ZodString>;
|
|
313
|
-
profileData: z.ZodOptional<z.ZodString>;
|
|
314
|
-
user_id: z.ZodOptional<z.ZodString>;
|
|
315
|
-
}, {
|
|
316
|
-
email_verified: z.ZodDefault<z.ZodBoolean>;
|
|
317
|
-
verify_email: z.ZodOptional<z.ZodBoolean>;
|
|
318
|
-
last_ip: z.ZodOptional<z.ZodString>;
|
|
319
|
-
last_login: z.ZodOptional<z.ZodString>;
|
|
320
|
-
user_id: z.ZodOptional<z.ZodString>;
|
|
321
|
-
provider: z.ZodDefault<z.ZodString>;
|
|
322
|
-
connection: z.ZodDefault<z.ZodString>;
|
|
323
|
-
}>, {
|
|
324
|
-
created_at: z.ZodString;
|
|
325
|
-
updated_at: z.ZodString;
|
|
326
|
-
}>, {
|
|
315
|
+
export declare const auth0UserResponseSchema: z.ZodObject<{
|
|
327
316
|
user_id: z.ZodString;
|
|
328
317
|
email: z.ZodString;
|
|
329
318
|
is_social: z.ZodBoolean;
|
|
@@ -401,7 +390,26 @@ export declare const auth0UserResponseSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
401
390
|
family_name: z.ZodOptional<z.ZodString>;
|
|
402
391
|
}, z.ZodAny, "strip"> | undefined;
|
|
403
392
|
}>, "many">>;
|
|
404
|
-
|
|
393
|
+
created_at: z.ZodString;
|
|
394
|
+
updated_at: z.ZodString;
|
|
395
|
+
username: z.ZodOptional<z.ZodString>;
|
|
396
|
+
given_name: z.ZodOptional<z.ZodString>;
|
|
397
|
+
family_name: z.ZodOptional<z.ZodString>;
|
|
398
|
+
nickname: z.ZodOptional<z.ZodString>;
|
|
399
|
+
name: z.ZodOptional<z.ZodString>;
|
|
400
|
+
picture: z.ZodOptional<z.ZodString>;
|
|
401
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
402
|
+
linked_to: z.ZodOptional<z.ZodString>;
|
|
403
|
+
profileData: z.ZodOptional<z.ZodString>;
|
|
404
|
+
app_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
|
|
405
|
+
user_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
|
|
406
|
+
email_verified: z.ZodDefault<z.ZodBoolean>;
|
|
407
|
+
verify_email: z.ZodOptional<z.ZodBoolean>;
|
|
408
|
+
last_ip: z.ZodOptional<z.ZodString>;
|
|
409
|
+
last_login: z.ZodOptional<z.ZodString>;
|
|
410
|
+
provider: z.ZodDefault<z.ZodString>;
|
|
411
|
+
connection: z.ZodDefault<z.ZodString>;
|
|
412
|
+
}, "strip", z.ZodTypeAny, {
|
|
405
413
|
created_at: string;
|
|
406
414
|
updated_at: string;
|
|
407
415
|
email: string;
|
|
@@ -420,6 +428,8 @@ export declare const auth0UserResponseSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
420
428
|
picture?: string | undefined;
|
|
421
429
|
locale?: string | undefined;
|
|
422
430
|
linked_to?: string | undefined;
|
|
431
|
+
app_metadata?: any;
|
|
432
|
+
user_metadata?: any;
|
|
423
433
|
verify_email?: boolean | undefined;
|
|
424
434
|
last_ip?: string | undefined;
|
|
425
435
|
last_login?: string | undefined;
|
|
@@ -461,6 +471,8 @@ export declare const auth0UserResponseSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
461
471
|
picture?: string | undefined;
|
|
462
472
|
locale?: string | undefined;
|
|
463
473
|
linked_to?: string | undefined;
|
|
474
|
+
app_metadata?: any;
|
|
475
|
+
user_metadata?: any;
|
|
464
476
|
verify_email?: boolean | undefined;
|
|
465
477
|
last_ip?: string | undefined;
|
|
466
478
|
last_login?: string | undefined;
|
|
@@ -503,6 +515,8 @@ export declare const userResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
503
515
|
linked_to: z.ZodOptional<z.ZodString>;
|
|
504
516
|
profileData: z.ZodOptional<z.ZodString>;
|
|
505
517
|
user_id: z.ZodOptional<z.ZodString>;
|
|
518
|
+
app_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
|
|
519
|
+
user_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
|
|
506
520
|
}, {
|
|
507
521
|
email: z.ZodString;
|
|
508
522
|
login_count: z.ZodNumber;
|
|
@@ -522,6 +536,8 @@ export declare const userResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
522
536
|
linked_to: z.ZodOptional<z.ZodString>;
|
|
523
537
|
profileData: z.ZodOptional<z.ZodString>;
|
|
524
538
|
user_id: z.ZodOptional<z.ZodString>;
|
|
539
|
+
app_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
|
|
540
|
+
user_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
|
|
525
541
|
}, {
|
|
526
542
|
email: z.ZodString;
|
|
527
543
|
login_count: z.ZodNumber;
|
|
@@ -541,6 +557,8 @@ export declare const userResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
541
557
|
linked_to: z.ZodOptional<z.ZodString>;
|
|
542
558
|
profileData: z.ZodOptional<z.ZodString>;
|
|
543
559
|
user_id: z.ZodOptional<z.ZodString>;
|
|
560
|
+
app_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
|
|
561
|
+
user_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
|
|
544
562
|
}, {
|
|
545
563
|
email: z.ZodString;
|
|
546
564
|
login_count: z.ZodNumber;
|
|
@@ -1175,7 +1193,12 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1175
1193
|
scope: z.ZodOptional<z.ZodString>;
|
|
1176
1194
|
authorization_endpoint: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1177
1195
|
token_endpoint: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1196
|
+
userinfo_endpoint: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1197
|
+
jwks_uri: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1198
|
+
discovery_url: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1199
|
+
issuer: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1178
1200
|
}, "strip", z.ZodTypeAny, {
|
|
1201
|
+
issuer?: string | undefined;
|
|
1179
1202
|
client_secret?: string | undefined;
|
|
1180
1203
|
client_id?: string | undefined;
|
|
1181
1204
|
scope?: string | undefined;
|
|
@@ -1185,7 +1208,11 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1185
1208
|
app_secret?: string | undefined;
|
|
1186
1209
|
authorization_endpoint?: string | undefined;
|
|
1187
1210
|
token_endpoint?: string | undefined;
|
|
1211
|
+
userinfo_endpoint?: string | undefined;
|
|
1212
|
+
jwks_uri?: string | undefined;
|
|
1213
|
+
discovery_url?: string | undefined;
|
|
1188
1214
|
}, {
|
|
1215
|
+
issuer?: string | undefined;
|
|
1189
1216
|
client_secret?: string | undefined;
|
|
1190
1217
|
client_id?: string | undefined;
|
|
1191
1218
|
scope?: string | undefined;
|
|
@@ -1195,6 +1222,9 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1195
1222
|
app_secret?: string | undefined;
|
|
1196
1223
|
authorization_endpoint?: string | undefined;
|
|
1197
1224
|
token_endpoint?: string | undefined;
|
|
1225
|
+
userinfo_endpoint?: string | undefined;
|
|
1226
|
+
jwks_uri?: string | undefined;
|
|
1227
|
+
discovery_url?: string | undefined;
|
|
1198
1228
|
}>>>;
|
|
1199
1229
|
enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1200
1230
|
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
@@ -1204,6 +1234,7 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1204
1234
|
updated_at: string;
|
|
1205
1235
|
name: string;
|
|
1206
1236
|
options?: {
|
|
1237
|
+
issuer?: string | undefined;
|
|
1207
1238
|
client_secret?: string | undefined;
|
|
1208
1239
|
client_id?: string | undefined;
|
|
1209
1240
|
scope?: string | undefined;
|
|
@@ -1213,6 +1244,9 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1213
1244
|
app_secret?: string | undefined;
|
|
1214
1245
|
authorization_endpoint?: string | undefined;
|
|
1215
1246
|
token_endpoint?: string | undefined;
|
|
1247
|
+
userinfo_endpoint?: string | undefined;
|
|
1248
|
+
jwks_uri?: string | undefined;
|
|
1249
|
+
discovery_url?: string | undefined;
|
|
1216
1250
|
} | undefined;
|
|
1217
1251
|
id?: string | undefined;
|
|
1218
1252
|
response_type?: AuthorizationResponseType | undefined;
|
|
@@ -1224,6 +1258,7 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1224
1258
|
updated_at: string;
|
|
1225
1259
|
name: string;
|
|
1226
1260
|
options?: {
|
|
1261
|
+
issuer?: string | undefined;
|
|
1227
1262
|
client_secret?: string | undefined;
|
|
1228
1263
|
client_id?: string | undefined;
|
|
1229
1264
|
scope?: string | undefined;
|
|
@@ -1233,6 +1268,9 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1233
1268
|
app_secret?: string | undefined;
|
|
1234
1269
|
authorization_endpoint?: string | undefined;
|
|
1235
1270
|
token_endpoint?: string | undefined;
|
|
1271
|
+
userinfo_endpoint?: string | undefined;
|
|
1272
|
+
jwks_uri?: string | undefined;
|
|
1273
|
+
discovery_url?: string | undefined;
|
|
1236
1274
|
} | undefined;
|
|
1237
1275
|
id?: string | undefined;
|
|
1238
1276
|
response_type?: AuthorizationResponseType | undefined;
|
|
@@ -1380,6 +1418,7 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1380
1418
|
updated_at: string;
|
|
1381
1419
|
name: string;
|
|
1382
1420
|
options?: {
|
|
1421
|
+
issuer?: string | undefined;
|
|
1383
1422
|
client_secret?: string | undefined;
|
|
1384
1423
|
client_id?: string | undefined;
|
|
1385
1424
|
scope?: string | undefined;
|
|
@@ -1389,6 +1428,9 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1389
1428
|
app_secret?: string | undefined;
|
|
1390
1429
|
authorization_endpoint?: string | undefined;
|
|
1391
1430
|
token_endpoint?: string | undefined;
|
|
1431
|
+
userinfo_endpoint?: string | undefined;
|
|
1432
|
+
jwks_uri?: string | undefined;
|
|
1433
|
+
discovery_url?: string | undefined;
|
|
1392
1434
|
} | undefined;
|
|
1393
1435
|
id?: string | undefined;
|
|
1394
1436
|
response_type?: AuthorizationResponseType | undefined;
|
|
@@ -1454,6 +1496,7 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1454
1496
|
updated_at: string;
|
|
1455
1497
|
name: string;
|
|
1456
1498
|
options?: {
|
|
1499
|
+
issuer?: string | undefined;
|
|
1457
1500
|
client_secret?: string | undefined;
|
|
1458
1501
|
client_id?: string | undefined;
|
|
1459
1502
|
scope?: string | undefined;
|
|
@@ -1463,6 +1506,9 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1463
1506
|
app_secret?: string | undefined;
|
|
1464
1507
|
authorization_endpoint?: string | undefined;
|
|
1465
1508
|
token_endpoint?: string | undefined;
|
|
1509
|
+
userinfo_endpoint?: string | undefined;
|
|
1510
|
+
jwks_uri?: string | undefined;
|
|
1511
|
+
discovery_url?: string | undefined;
|
|
1466
1512
|
} | undefined;
|
|
1467
1513
|
id?: string | undefined;
|
|
1468
1514
|
response_type?: AuthorizationResponseType | undefined;
|
|
@@ -1602,7 +1648,12 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1602
1648
|
scope: z.ZodOptional<z.ZodString>;
|
|
1603
1649
|
authorization_endpoint: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1604
1650
|
token_endpoint: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1651
|
+
userinfo_endpoint: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1652
|
+
jwks_uri: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1653
|
+
discovery_url: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1654
|
+
issuer: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1605
1655
|
}, "strip", z.ZodTypeAny, {
|
|
1656
|
+
issuer?: string | undefined;
|
|
1606
1657
|
client_secret?: string | undefined;
|
|
1607
1658
|
client_id?: string | undefined;
|
|
1608
1659
|
scope?: string | undefined;
|
|
@@ -1612,7 +1663,11 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1612
1663
|
app_secret?: string | undefined;
|
|
1613
1664
|
authorization_endpoint?: string | undefined;
|
|
1614
1665
|
token_endpoint?: string | undefined;
|
|
1666
|
+
userinfo_endpoint?: string | undefined;
|
|
1667
|
+
jwks_uri?: string | undefined;
|
|
1668
|
+
discovery_url?: string | undefined;
|
|
1615
1669
|
}, {
|
|
1670
|
+
issuer?: string | undefined;
|
|
1616
1671
|
client_secret?: string | undefined;
|
|
1617
1672
|
client_id?: string | undefined;
|
|
1618
1673
|
scope?: string | undefined;
|
|
@@ -1622,6 +1677,9 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1622
1677
|
app_secret?: string | undefined;
|
|
1623
1678
|
authorization_endpoint?: string | undefined;
|
|
1624
1679
|
token_endpoint?: string | undefined;
|
|
1680
|
+
userinfo_endpoint?: string | undefined;
|
|
1681
|
+
jwks_uri?: string | undefined;
|
|
1682
|
+
discovery_url?: string | undefined;
|
|
1625
1683
|
}>>>;
|
|
1626
1684
|
enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1627
1685
|
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
@@ -1629,6 +1687,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1629
1687
|
}, "strip", z.ZodTypeAny, {
|
|
1630
1688
|
name: string;
|
|
1631
1689
|
options?: {
|
|
1690
|
+
issuer?: string | undefined;
|
|
1632
1691
|
client_secret?: string | undefined;
|
|
1633
1692
|
client_id?: string | undefined;
|
|
1634
1693
|
scope?: string | undefined;
|
|
@@ -1638,6 +1697,9 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1638
1697
|
app_secret?: string | undefined;
|
|
1639
1698
|
authorization_endpoint?: string | undefined;
|
|
1640
1699
|
token_endpoint?: string | undefined;
|
|
1700
|
+
userinfo_endpoint?: string | undefined;
|
|
1701
|
+
jwks_uri?: string | undefined;
|
|
1702
|
+
discovery_url?: string | undefined;
|
|
1641
1703
|
} | undefined;
|
|
1642
1704
|
id?: string | undefined;
|
|
1643
1705
|
response_type?: AuthorizationResponseType | undefined;
|
|
@@ -1647,6 +1709,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1647
1709
|
}, {
|
|
1648
1710
|
name: string;
|
|
1649
1711
|
options?: {
|
|
1712
|
+
issuer?: string | undefined;
|
|
1650
1713
|
client_secret?: string | undefined;
|
|
1651
1714
|
client_id?: string | undefined;
|
|
1652
1715
|
scope?: string | undefined;
|
|
@@ -1656,6 +1719,9 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1656
1719
|
app_secret?: string | undefined;
|
|
1657
1720
|
authorization_endpoint?: string | undefined;
|
|
1658
1721
|
token_endpoint?: string | undefined;
|
|
1722
|
+
userinfo_endpoint?: string | undefined;
|
|
1723
|
+
jwks_uri?: string | undefined;
|
|
1724
|
+
discovery_url?: string | undefined;
|
|
1659
1725
|
} | undefined;
|
|
1660
1726
|
id?: string | undefined;
|
|
1661
1727
|
response_type?: AuthorizationResponseType | undefined;
|
|
@@ -1692,7 +1758,12 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1692
1758
|
scope: z.ZodOptional<z.ZodString>;
|
|
1693
1759
|
authorization_endpoint: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1694
1760
|
token_endpoint: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1761
|
+
userinfo_endpoint: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1762
|
+
jwks_uri: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1763
|
+
discovery_url: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1764
|
+
issuer: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1695
1765
|
}, "strip", z.ZodTypeAny, {
|
|
1766
|
+
issuer?: string | undefined;
|
|
1696
1767
|
client_secret?: string | undefined;
|
|
1697
1768
|
client_id?: string | undefined;
|
|
1698
1769
|
scope?: string | undefined;
|
|
@@ -1702,7 +1773,11 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1702
1773
|
app_secret?: string | undefined;
|
|
1703
1774
|
authorization_endpoint?: string | undefined;
|
|
1704
1775
|
token_endpoint?: string | undefined;
|
|
1776
|
+
userinfo_endpoint?: string | undefined;
|
|
1777
|
+
jwks_uri?: string | undefined;
|
|
1778
|
+
discovery_url?: string | undefined;
|
|
1705
1779
|
}, {
|
|
1780
|
+
issuer?: string | undefined;
|
|
1706
1781
|
client_secret?: string | undefined;
|
|
1707
1782
|
client_id?: string | undefined;
|
|
1708
1783
|
scope?: string | undefined;
|
|
@@ -1712,6 +1787,9 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1712
1787
|
app_secret?: string | undefined;
|
|
1713
1788
|
authorization_endpoint?: string | undefined;
|
|
1714
1789
|
token_endpoint?: string | undefined;
|
|
1790
|
+
userinfo_endpoint?: string | undefined;
|
|
1791
|
+
jwks_uri?: string | undefined;
|
|
1792
|
+
discovery_url?: string | undefined;
|
|
1715
1793
|
}>>>;
|
|
1716
1794
|
enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1717
1795
|
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
@@ -1721,6 +1799,7 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1721
1799
|
updated_at: string;
|
|
1722
1800
|
name: string;
|
|
1723
1801
|
options?: {
|
|
1802
|
+
issuer?: string | undefined;
|
|
1724
1803
|
client_secret?: string | undefined;
|
|
1725
1804
|
client_id?: string | undefined;
|
|
1726
1805
|
scope?: string | undefined;
|
|
@@ -1730,6 +1809,9 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1730
1809
|
app_secret?: string | undefined;
|
|
1731
1810
|
authorization_endpoint?: string | undefined;
|
|
1732
1811
|
token_endpoint?: string | undefined;
|
|
1812
|
+
userinfo_endpoint?: string | undefined;
|
|
1813
|
+
jwks_uri?: string | undefined;
|
|
1814
|
+
discovery_url?: string | undefined;
|
|
1733
1815
|
} | undefined;
|
|
1734
1816
|
id?: string | undefined;
|
|
1735
1817
|
response_type?: AuthorizationResponseType | undefined;
|
|
@@ -1741,6 +1823,7 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1741
1823
|
updated_at: string;
|
|
1742
1824
|
name: string;
|
|
1743
1825
|
options?: {
|
|
1826
|
+
issuer?: string | undefined;
|
|
1744
1827
|
client_secret?: string | undefined;
|
|
1745
1828
|
client_id?: string | undefined;
|
|
1746
1829
|
scope?: string | undefined;
|
|
@@ -1750,6 +1833,9 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1750
1833
|
app_secret?: string | undefined;
|
|
1751
1834
|
authorization_endpoint?: string | undefined;
|
|
1752
1835
|
token_endpoint?: string | undefined;
|
|
1836
|
+
userinfo_endpoint?: string | undefined;
|
|
1837
|
+
jwks_uri?: string | undefined;
|
|
1838
|
+
discovery_url?: string | undefined;
|
|
1753
1839
|
} | undefined;
|
|
1754
1840
|
id?: string | undefined;
|
|
1755
1841
|
response_type?: AuthorizationResponseType | undefined;
|
|
@@ -2117,10 +2203,10 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
|
|
|
2117
2203
|
issuer: string;
|
|
2118
2204
|
authorization_endpoint: string;
|
|
2119
2205
|
token_endpoint: string;
|
|
2120
|
-
device_authorization_endpoint: string;
|
|
2121
2206
|
userinfo_endpoint: string;
|
|
2122
|
-
mfa_challenge_endpoint: string;
|
|
2123
2207
|
jwks_uri: string;
|
|
2208
|
+
device_authorization_endpoint: string;
|
|
2209
|
+
mfa_challenge_endpoint: string;
|
|
2124
2210
|
registration_endpoint: string;
|
|
2125
2211
|
revocation_endpoint: string;
|
|
2126
2212
|
scopes_supported: string[];
|
|
@@ -2138,10 +2224,10 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
|
|
|
2138
2224
|
issuer: string;
|
|
2139
2225
|
authorization_endpoint: string;
|
|
2140
2226
|
token_endpoint: string;
|
|
2141
|
-
device_authorization_endpoint: string;
|
|
2142
2227
|
userinfo_endpoint: string;
|
|
2143
|
-
mfa_challenge_endpoint: string;
|
|
2144
2228
|
jwks_uri: string;
|
|
2229
|
+
device_authorization_endpoint: string;
|
|
2230
|
+
mfa_challenge_endpoint: string;
|
|
2145
2231
|
registration_endpoint: string;
|
|
2146
2232
|
revocation_endpoint: string;
|
|
2147
2233
|
scopes_supported: string[];
|