@authhero/adapter-interfaces 0.15.0 → 0.15.2
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/adapter-interfaces.cjs +1 -1
- package/dist/adapter-interfaces.d.ts +128 -116
- package/dist/adapter-interfaces.iife.js +1 -1
- package/dist/adapter-interfaces.mjs +356 -339
- package/package.json +1 -1
|
@@ -605,12 +605,12 @@ export declare const samlpAddon: z.ZodObject<{
|
|
|
605
605
|
export declare const applicationInsertSchema: z.ZodObject<{
|
|
606
606
|
id: z.ZodString;
|
|
607
607
|
name: z.ZodString;
|
|
608
|
-
callbacks: z.ZodArray<z.ZodString, "many"
|
|
609
|
-
allowed_origins: z.ZodArray<z.ZodString, "many"
|
|
610
|
-
web_origins: z.ZodArray<z.ZodString, "many"
|
|
611
|
-
allowed_logout_urls: z.ZodArray<z.ZodString, "many"
|
|
612
|
-
allowed_clients: z.ZodArray<z.ZodString, "many"
|
|
613
|
-
addons: z.
|
|
608
|
+
callbacks: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
609
|
+
allowed_origins: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
610
|
+
web_origins: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
611
|
+
allowed_logout_urls: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
612
|
+
allowed_clients: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
613
|
+
addons: z.ZodDefault<z.ZodObject<{
|
|
614
614
|
samlp: z.ZodOptional<z.ZodObject<{
|
|
615
615
|
audience: z.ZodOptional<z.ZodString>;
|
|
616
616
|
recipient: z.ZodOptional<z.ZodString>;
|
|
@@ -717,10 +717,7 @@ export declare const applicationInsertSchema: z.ZodObject<{
|
|
|
717
717
|
web_origins: string[];
|
|
718
718
|
allowed_logout_urls: string[];
|
|
719
719
|
allowed_clients: string[];
|
|
720
|
-
|
|
721
|
-
client_secret: string;
|
|
722
|
-
disable_sign_ups: boolean;
|
|
723
|
-
addons?: {
|
|
720
|
+
addons: {
|
|
724
721
|
samlp?: {
|
|
725
722
|
audience?: string | undefined;
|
|
726
723
|
recipient?: string | undefined;
|
|
@@ -739,15 +736,18 @@ export declare const applicationInsertSchema: z.ZodObject<{
|
|
|
739
736
|
authnContextClassRef?: string | undefined;
|
|
740
737
|
mappings?: Record<string, string> | undefined;
|
|
741
738
|
} | undefined;
|
|
742
|
-
}
|
|
739
|
+
};
|
|
740
|
+
email_validation: "enabled" | "disabled" | "enforced";
|
|
741
|
+
client_secret: string;
|
|
742
|
+
disable_sign_ups: boolean;
|
|
743
743
|
}, {
|
|
744
744
|
name: string;
|
|
745
745
|
id: string;
|
|
746
|
-
callbacks
|
|
747
|
-
allowed_origins
|
|
748
|
-
web_origins
|
|
749
|
-
allowed_logout_urls
|
|
750
|
-
allowed_clients
|
|
746
|
+
callbacks?: string[] | undefined;
|
|
747
|
+
allowed_origins?: string[] | undefined;
|
|
748
|
+
web_origins?: string[] | undefined;
|
|
749
|
+
allowed_logout_urls?: string[] | undefined;
|
|
750
|
+
allowed_clients?: string[] | undefined;
|
|
751
751
|
addons?: {
|
|
752
752
|
samlp?: {
|
|
753
753
|
audience?: string | undefined;
|
|
@@ -776,12 +776,12 @@ export type ApplicationInsert = z.infer<typeof applicationInsertSchema>;
|
|
|
776
776
|
export declare const applicationSchema: z.ZodObject<{
|
|
777
777
|
id: z.ZodString;
|
|
778
778
|
name: z.ZodString;
|
|
779
|
-
callbacks: z.ZodArray<z.ZodString, "many"
|
|
780
|
-
allowed_origins: z.ZodArray<z.ZodString, "many"
|
|
781
|
-
web_origins: z.ZodArray<z.ZodString, "many"
|
|
782
|
-
allowed_logout_urls: z.ZodArray<z.ZodString, "many"
|
|
783
|
-
allowed_clients: z.ZodArray<z.ZodString, "many"
|
|
784
|
-
addons: z.
|
|
779
|
+
callbacks: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
780
|
+
allowed_origins: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
781
|
+
web_origins: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
782
|
+
allowed_logout_urls: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
783
|
+
allowed_clients: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
784
|
+
addons: z.ZodDefault<z.ZodObject<{
|
|
785
785
|
samlp: z.ZodOptional<z.ZodObject<{
|
|
786
786
|
audience: z.ZodOptional<z.ZodString>;
|
|
787
787
|
recipient: z.ZodOptional<z.ZodString>;
|
|
@@ -892,10 +892,7 @@ export declare const applicationSchema: z.ZodObject<{
|
|
|
892
892
|
web_origins: string[];
|
|
893
893
|
allowed_logout_urls: string[];
|
|
894
894
|
allowed_clients: string[];
|
|
895
|
-
|
|
896
|
-
client_secret: string;
|
|
897
|
-
disable_sign_ups: boolean;
|
|
898
|
-
addons?: {
|
|
895
|
+
addons: {
|
|
899
896
|
samlp?: {
|
|
900
897
|
audience?: string | undefined;
|
|
901
898
|
recipient?: string | undefined;
|
|
@@ -914,17 +911,20 @@ export declare const applicationSchema: z.ZodObject<{
|
|
|
914
911
|
authnContextClassRef?: string | undefined;
|
|
915
912
|
mappings?: Record<string, string> | undefined;
|
|
916
913
|
} | undefined;
|
|
917
|
-
}
|
|
914
|
+
};
|
|
915
|
+
email_validation: "enabled" | "disabled" | "enforced";
|
|
916
|
+
client_secret: string;
|
|
917
|
+
disable_sign_ups: boolean;
|
|
918
918
|
}, {
|
|
919
919
|
created_at: string;
|
|
920
920
|
updated_at: string;
|
|
921
921
|
name: string;
|
|
922
922
|
id: string;
|
|
923
|
-
callbacks
|
|
924
|
-
allowed_origins
|
|
925
|
-
web_origins
|
|
926
|
-
allowed_logout_urls
|
|
927
|
-
allowed_clients
|
|
923
|
+
callbacks?: string[] | undefined;
|
|
924
|
+
allowed_origins?: string[] | undefined;
|
|
925
|
+
web_origins?: string[] | undefined;
|
|
926
|
+
allowed_logout_urls?: string[] | undefined;
|
|
927
|
+
allowed_clients?: string[] | undefined;
|
|
928
928
|
addons?: {
|
|
929
929
|
samlp?: {
|
|
930
930
|
audience?: string | undefined;
|
|
@@ -1159,9 +1159,13 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1159
1159
|
"facebook",
|
|
1160
1160
|
"vipps",
|
|
1161
1161
|
"apple",
|
|
1162
|
-
"email"
|
|
1162
|
+
"email",
|
|
1163
|
+
"Username-Password-Authentication",
|
|
1164
|
+
"oidc",
|
|
1165
|
+
"oauth2",
|
|
1166
|
+
"custom"
|
|
1163
1167
|
]>>;
|
|
1164
|
-
options: z.ZodObject<{
|
|
1168
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
1165
1169
|
kid: z.ZodOptional<z.ZodString>;
|
|
1166
1170
|
team_id: z.ZodOptional<z.ZodString>;
|
|
1167
1171
|
realms: z.ZodOptional<z.ZodString>;
|
|
@@ -1185,7 +1189,7 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1185
1189
|
team_id?: string | undefined;
|
|
1186
1190
|
realms?: string | undefined;
|
|
1187
1191
|
app_secret?: string | undefined;
|
|
1188
|
-
}
|
|
1192
|
+
}>>;
|
|
1189
1193
|
enabled_clients: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1190
1194
|
authorization_endpoint: z.ZodOptional<z.ZodString>;
|
|
1191
1195
|
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
@@ -1200,7 +1204,10 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1200
1204
|
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
1201
1205
|
scope: z.ZodOptional<z.ZodString>;
|
|
1202
1206
|
}>, "strip", z.ZodTypeAny, {
|
|
1203
|
-
|
|
1207
|
+
created_at: string;
|
|
1208
|
+
updated_at: string;
|
|
1209
|
+
name: string;
|
|
1210
|
+
options?: {
|
|
1204
1211
|
client_secret?: string | undefined;
|
|
1205
1212
|
client_id?: string | undefined;
|
|
1206
1213
|
scope?: string | undefined;
|
|
@@ -1208,17 +1215,14 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1208
1215
|
team_id?: string | undefined;
|
|
1209
1216
|
realms?: string | undefined;
|
|
1210
1217
|
app_secret?: string | undefined;
|
|
1211
|
-
};
|
|
1212
|
-
created_at: string;
|
|
1213
|
-
updated_at: string;
|
|
1214
|
-
name: string;
|
|
1218
|
+
} | undefined;
|
|
1215
1219
|
id?: string | undefined;
|
|
1216
1220
|
client_secret?: string | undefined;
|
|
1217
1221
|
client_id?: string | undefined;
|
|
1218
1222
|
response_type?: AuthorizationResponseType | undefined;
|
|
1219
1223
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1220
1224
|
scope?: string | undefined;
|
|
1221
|
-
strategy?: "email" | "google-oauth2" | "facebook" | "vipps" | "apple" | undefined;
|
|
1225
|
+
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1222
1226
|
kid?: string | undefined;
|
|
1223
1227
|
team_id?: string | undefined;
|
|
1224
1228
|
enabled_clients?: string[] | undefined;
|
|
@@ -1228,7 +1232,10 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1228
1232
|
token_exchange_basic_auth?: boolean | undefined;
|
|
1229
1233
|
userinfo_endpoint?: string | undefined;
|
|
1230
1234
|
}, {
|
|
1231
|
-
|
|
1235
|
+
created_at: string;
|
|
1236
|
+
updated_at: string;
|
|
1237
|
+
name: string;
|
|
1238
|
+
options?: {
|
|
1232
1239
|
client_secret?: string | undefined;
|
|
1233
1240
|
client_id?: string | undefined;
|
|
1234
1241
|
scope?: string | undefined;
|
|
@@ -1236,17 +1243,14 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1236
1243
|
team_id?: string | undefined;
|
|
1237
1244
|
realms?: string | undefined;
|
|
1238
1245
|
app_secret?: string | undefined;
|
|
1239
|
-
};
|
|
1240
|
-
created_at: string;
|
|
1241
|
-
updated_at: string;
|
|
1242
|
-
name: string;
|
|
1246
|
+
} | undefined;
|
|
1243
1247
|
id?: string | undefined;
|
|
1244
1248
|
client_secret?: string | undefined;
|
|
1245
1249
|
client_id?: string | undefined;
|
|
1246
1250
|
response_type?: AuthorizationResponseType | undefined;
|
|
1247
1251
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1248
1252
|
scope?: string | undefined;
|
|
1249
|
-
strategy?: "email" | "google-oauth2" | "facebook" | "vipps" | "apple" | undefined;
|
|
1253
|
+
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1250
1254
|
kid?: string | undefined;
|
|
1251
1255
|
team_id?: string | undefined;
|
|
1252
1256
|
enabled_clients?: string[] | undefined;
|
|
@@ -1258,12 +1262,12 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1258
1262
|
}>, "many">;
|
|
1259
1263
|
id: z.ZodString;
|
|
1260
1264
|
name: z.ZodString;
|
|
1261
|
-
callbacks: z.ZodArray<z.ZodString, "many"
|
|
1262
|
-
allowed_origins: z.ZodArray<z.ZodString, "many"
|
|
1263
|
-
web_origins: z.ZodArray<z.ZodString, "many"
|
|
1264
|
-
allowed_logout_urls: z.ZodArray<z.ZodString, "many"
|
|
1265
|
-
allowed_clients: z.ZodArray<z.ZodString, "many"
|
|
1266
|
-
addons: z.
|
|
1265
|
+
callbacks: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1266
|
+
allowed_origins: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1267
|
+
web_origins: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1268
|
+
allowed_logout_urls: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1269
|
+
allowed_clients: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1270
|
+
addons: z.ZodDefault<z.ZodObject<{
|
|
1267
1271
|
samlp: z.ZodOptional<z.ZodObject<{
|
|
1268
1272
|
audience: z.ZodOptional<z.ZodString>;
|
|
1269
1273
|
recipient: z.ZodOptional<z.ZodString>;
|
|
@@ -1374,6 +1378,26 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1374
1378
|
web_origins: string[];
|
|
1375
1379
|
allowed_logout_urls: string[];
|
|
1376
1380
|
allowed_clients: string[];
|
|
1381
|
+
addons: {
|
|
1382
|
+
samlp?: {
|
|
1383
|
+
audience?: string | undefined;
|
|
1384
|
+
recipient?: string | undefined;
|
|
1385
|
+
createUpnClaim?: boolean | undefined;
|
|
1386
|
+
mapUnknownClaimsAsIs?: boolean | undefined;
|
|
1387
|
+
passthroughClaimsWithNoMapping?: boolean | undefined;
|
|
1388
|
+
mapIdentities?: boolean | undefined;
|
|
1389
|
+
signatureAlgorithm?: string | undefined;
|
|
1390
|
+
digestAlgorithm?: string | undefined;
|
|
1391
|
+
issuer?: string | undefined;
|
|
1392
|
+
destination?: string | undefined;
|
|
1393
|
+
lifetimeInSeconds?: number | undefined;
|
|
1394
|
+
signResponse?: boolean | undefined;
|
|
1395
|
+
nameIdentifierFormat?: string | undefined;
|
|
1396
|
+
nameIdentifierProbes?: string[] | undefined;
|
|
1397
|
+
authnContextClassRef?: string | undefined;
|
|
1398
|
+
mappings?: Record<string, string> | undefined;
|
|
1399
|
+
} | undefined;
|
|
1400
|
+
};
|
|
1377
1401
|
email_validation: "enabled" | "disabled" | "enforced";
|
|
1378
1402
|
client_secret: string;
|
|
1379
1403
|
disable_sign_ups: boolean;
|
|
@@ -1399,7 +1423,10 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1399
1423
|
language?: string | undefined;
|
|
1400
1424
|
};
|
|
1401
1425
|
connections: {
|
|
1402
|
-
|
|
1426
|
+
created_at: string;
|
|
1427
|
+
updated_at: string;
|
|
1428
|
+
name: string;
|
|
1429
|
+
options?: {
|
|
1403
1430
|
client_secret?: string | undefined;
|
|
1404
1431
|
client_id?: string | undefined;
|
|
1405
1432
|
scope?: string | undefined;
|
|
@@ -1407,17 +1434,14 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1407
1434
|
team_id?: string | undefined;
|
|
1408
1435
|
realms?: string | undefined;
|
|
1409
1436
|
app_secret?: string | undefined;
|
|
1410
|
-
};
|
|
1411
|
-
created_at: string;
|
|
1412
|
-
updated_at: string;
|
|
1413
|
-
name: string;
|
|
1437
|
+
} | undefined;
|
|
1414
1438
|
id?: string | undefined;
|
|
1415
1439
|
client_secret?: string | undefined;
|
|
1416
1440
|
client_id?: string | undefined;
|
|
1417
1441
|
response_type?: AuthorizationResponseType | undefined;
|
|
1418
1442
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1419
1443
|
scope?: string | undefined;
|
|
1420
|
-
strategy?: "email" | "google-oauth2" | "facebook" | "vipps" | "apple" | undefined;
|
|
1444
|
+
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1421
1445
|
kid?: string | undefined;
|
|
1422
1446
|
team_id?: string | undefined;
|
|
1423
1447
|
enabled_clients?: string[] | undefined;
|
|
@@ -1427,36 +1451,11 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1427
1451
|
token_exchange_basic_auth?: boolean | undefined;
|
|
1428
1452
|
userinfo_endpoint?: string | undefined;
|
|
1429
1453
|
}[];
|
|
1430
|
-
addons?: {
|
|
1431
|
-
samlp?: {
|
|
1432
|
-
audience?: string | undefined;
|
|
1433
|
-
recipient?: string | undefined;
|
|
1434
|
-
createUpnClaim?: boolean | undefined;
|
|
1435
|
-
mapUnknownClaimsAsIs?: boolean | undefined;
|
|
1436
|
-
passthroughClaimsWithNoMapping?: boolean | undefined;
|
|
1437
|
-
mapIdentities?: boolean | undefined;
|
|
1438
|
-
signatureAlgorithm?: string | undefined;
|
|
1439
|
-
digestAlgorithm?: string | undefined;
|
|
1440
|
-
issuer?: string | undefined;
|
|
1441
|
-
destination?: string | undefined;
|
|
1442
|
-
lifetimeInSeconds?: number | undefined;
|
|
1443
|
-
signResponse?: boolean | undefined;
|
|
1444
|
-
nameIdentifierFormat?: string | undefined;
|
|
1445
|
-
nameIdentifierProbes?: string[] | undefined;
|
|
1446
|
-
authnContextClassRef?: string | undefined;
|
|
1447
|
-
mappings?: Record<string, string> | undefined;
|
|
1448
|
-
} | undefined;
|
|
1449
|
-
} | undefined;
|
|
1450
1454
|
}, {
|
|
1451
1455
|
created_at: string;
|
|
1452
1456
|
updated_at: string;
|
|
1453
1457
|
name: string;
|
|
1454
1458
|
id: string;
|
|
1455
|
-
callbacks: string[];
|
|
1456
|
-
allowed_origins: string[];
|
|
1457
|
-
web_origins: string[];
|
|
1458
|
-
allowed_logout_urls: string[];
|
|
1459
|
-
allowed_clients: string[];
|
|
1460
1459
|
domains: {
|
|
1461
1460
|
domain: string;
|
|
1462
1461
|
dkim_private_key?: string | undefined;
|
|
@@ -1479,7 +1478,10 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1479
1478
|
language?: string | undefined;
|
|
1480
1479
|
};
|
|
1481
1480
|
connections: {
|
|
1482
|
-
|
|
1481
|
+
created_at: string;
|
|
1482
|
+
updated_at: string;
|
|
1483
|
+
name: string;
|
|
1484
|
+
options?: {
|
|
1483
1485
|
client_secret?: string | undefined;
|
|
1484
1486
|
client_id?: string | undefined;
|
|
1485
1487
|
scope?: string | undefined;
|
|
@@ -1487,17 +1489,14 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1487
1489
|
team_id?: string | undefined;
|
|
1488
1490
|
realms?: string | undefined;
|
|
1489
1491
|
app_secret?: string | undefined;
|
|
1490
|
-
};
|
|
1491
|
-
created_at: string;
|
|
1492
|
-
updated_at: string;
|
|
1493
|
-
name: string;
|
|
1492
|
+
} | undefined;
|
|
1494
1493
|
id?: string | undefined;
|
|
1495
1494
|
client_secret?: string | undefined;
|
|
1496
1495
|
client_id?: string | undefined;
|
|
1497
1496
|
response_type?: AuthorizationResponseType | undefined;
|
|
1498
1497
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1499
1498
|
scope?: string | undefined;
|
|
1500
|
-
strategy?: "email" | "google-oauth2" | "facebook" | "vipps" | "apple" | undefined;
|
|
1499
|
+
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1501
1500
|
kid?: string | undefined;
|
|
1502
1501
|
team_id?: string | undefined;
|
|
1503
1502
|
enabled_clients?: string[] | undefined;
|
|
@@ -1507,6 +1506,11 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1507
1506
|
token_exchange_basic_auth?: boolean | undefined;
|
|
1508
1507
|
userinfo_endpoint?: string | undefined;
|
|
1509
1508
|
}[];
|
|
1509
|
+
callbacks?: string[] | undefined;
|
|
1510
|
+
allowed_origins?: string[] | undefined;
|
|
1511
|
+
web_origins?: string[] | undefined;
|
|
1512
|
+
allowed_logout_urls?: string[] | undefined;
|
|
1513
|
+
allowed_clients?: string[] | undefined;
|
|
1510
1514
|
addons?: {
|
|
1511
1515
|
samlp?: {
|
|
1512
1516
|
audience?: string | undefined;
|
|
@@ -1618,9 +1622,13 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1618
1622
|
"facebook",
|
|
1619
1623
|
"vipps",
|
|
1620
1624
|
"apple",
|
|
1621
|
-
"email"
|
|
1625
|
+
"email",
|
|
1626
|
+
"Username-Password-Authentication",
|
|
1627
|
+
"oidc",
|
|
1628
|
+
"oauth2",
|
|
1629
|
+
"custom"
|
|
1622
1630
|
]>>;
|
|
1623
|
-
options: z.ZodObject<{
|
|
1631
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
1624
1632
|
kid: z.ZodOptional<z.ZodString>;
|
|
1625
1633
|
team_id: z.ZodOptional<z.ZodString>;
|
|
1626
1634
|
realms: z.ZodOptional<z.ZodString>;
|
|
@@ -1644,7 +1652,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1644
1652
|
team_id?: string | undefined;
|
|
1645
1653
|
realms?: string | undefined;
|
|
1646
1654
|
app_secret?: string | undefined;
|
|
1647
|
-
}
|
|
1655
|
+
}>>;
|
|
1648
1656
|
enabled_clients: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1649
1657
|
authorization_endpoint: z.ZodOptional<z.ZodString>;
|
|
1650
1658
|
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
@@ -1659,7 +1667,8 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1659
1667
|
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
1660
1668
|
scope: z.ZodOptional<z.ZodString>;
|
|
1661
1669
|
}, "strip", z.ZodTypeAny, {
|
|
1662
|
-
|
|
1670
|
+
name: string;
|
|
1671
|
+
options?: {
|
|
1663
1672
|
client_secret?: string | undefined;
|
|
1664
1673
|
client_id?: string | undefined;
|
|
1665
1674
|
scope?: string | undefined;
|
|
@@ -1667,15 +1676,14 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1667
1676
|
team_id?: string | undefined;
|
|
1668
1677
|
realms?: string | undefined;
|
|
1669
1678
|
app_secret?: string | undefined;
|
|
1670
|
-
};
|
|
1671
|
-
name: string;
|
|
1679
|
+
} | undefined;
|
|
1672
1680
|
id?: string | undefined;
|
|
1673
1681
|
client_secret?: string | undefined;
|
|
1674
1682
|
client_id?: string | undefined;
|
|
1675
1683
|
response_type?: AuthorizationResponseType | undefined;
|
|
1676
1684
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1677
1685
|
scope?: string | undefined;
|
|
1678
|
-
strategy?: "email" | "google-oauth2" | "facebook" | "vipps" | "apple" | undefined;
|
|
1686
|
+
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1679
1687
|
kid?: string | undefined;
|
|
1680
1688
|
team_id?: string | undefined;
|
|
1681
1689
|
enabled_clients?: string[] | undefined;
|
|
@@ -1685,7 +1693,8 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1685
1693
|
token_exchange_basic_auth?: boolean | undefined;
|
|
1686
1694
|
userinfo_endpoint?: string | undefined;
|
|
1687
1695
|
}, {
|
|
1688
|
-
|
|
1696
|
+
name: string;
|
|
1697
|
+
options?: {
|
|
1689
1698
|
client_secret?: string | undefined;
|
|
1690
1699
|
client_id?: string | undefined;
|
|
1691
1700
|
scope?: string | undefined;
|
|
@@ -1693,15 +1702,14 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1693
1702
|
team_id?: string | undefined;
|
|
1694
1703
|
realms?: string | undefined;
|
|
1695
1704
|
app_secret?: string | undefined;
|
|
1696
|
-
};
|
|
1697
|
-
name: string;
|
|
1705
|
+
} | undefined;
|
|
1698
1706
|
id?: string | undefined;
|
|
1699
1707
|
client_secret?: string | undefined;
|
|
1700
1708
|
client_id?: string | undefined;
|
|
1701
1709
|
response_type?: AuthorizationResponseType | undefined;
|
|
1702
1710
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1703
1711
|
scope?: string | undefined;
|
|
1704
|
-
strategy?: "email" | "google-oauth2" | "facebook" | "vipps" | "apple" | undefined;
|
|
1712
|
+
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1705
1713
|
kid?: string | undefined;
|
|
1706
1714
|
team_id?: string | undefined;
|
|
1707
1715
|
enabled_clients?: string[] | undefined;
|
|
@@ -1724,9 +1732,13 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1724
1732
|
"facebook",
|
|
1725
1733
|
"vipps",
|
|
1726
1734
|
"apple",
|
|
1727
|
-
"email"
|
|
1735
|
+
"email",
|
|
1736
|
+
"Username-Password-Authentication",
|
|
1737
|
+
"oidc",
|
|
1738
|
+
"oauth2",
|
|
1739
|
+
"custom"
|
|
1728
1740
|
]>>;
|
|
1729
|
-
options: z.ZodObject<{
|
|
1741
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
1730
1742
|
kid: z.ZodOptional<z.ZodString>;
|
|
1731
1743
|
team_id: z.ZodOptional<z.ZodString>;
|
|
1732
1744
|
realms: z.ZodOptional<z.ZodString>;
|
|
@@ -1750,7 +1762,7 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1750
1762
|
team_id?: string | undefined;
|
|
1751
1763
|
realms?: string | undefined;
|
|
1752
1764
|
app_secret?: string | undefined;
|
|
1753
|
-
}
|
|
1765
|
+
}>>;
|
|
1754
1766
|
enabled_clients: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1755
1767
|
authorization_endpoint: z.ZodOptional<z.ZodString>;
|
|
1756
1768
|
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
@@ -1765,7 +1777,10 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1765
1777
|
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
1766
1778
|
scope: z.ZodOptional<z.ZodString>;
|
|
1767
1779
|
}>, "strip", z.ZodTypeAny, {
|
|
1768
|
-
|
|
1780
|
+
created_at: string;
|
|
1781
|
+
updated_at: string;
|
|
1782
|
+
name: string;
|
|
1783
|
+
options?: {
|
|
1769
1784
|
client_secret?: string | undefined;
|
|
1770
1785
|
client_id?: string | undefined;
|
|
1771
1786
|
scope?: string | undefined;
|
|
@@ -1773,17 +1788,14 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1773
1788
|
team_id?: string | undefined;
|
|
1774
1789
|
realms?: string | undefined;
|
|
1775
1790
|
app_secret?: string | undefined;
|
|
1776
|
-
};
|
|
1777
|
-
created_at: string;
|
|
1778
|
-
updated_at: string;
|
|
1779
|
-
name: string;
|
|
1791
|
+
} | undefined;
|
|
1780
1792
|
id?: string | undefined;
|
|
1781
1793
|
client_secret?: string | undefined;
|
|
1782
1794
|
client_id?: string | undefined;
|
|
1783
1795
|
response_type?: AuthorizationResponseType | undefined;
|
|
1784
1796
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1785
1797
|
scope?: string | undefined;
|
|
1786
|
-
strategy?: "email" | "google-oauth2" | "facebook" | "vipps" | "apple" | undefined;
|
|
1798
|
+
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1787
1799
|
kid?: string | undefined;
|
|
1788
1800
|
team_id?: string | undefined;
|
|
1789
1801
|
enabled_clients?: string[] | undefined;
|
|
@@ -1793,7 +1805,10 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1793
1805
|
token_exchange_basic_auth?: boolean | undefined;
|
|
1794
1806
|
userinfo_endpoint?: string | undefined;
|
|
1795
1807
|
}, {
|
|
1796
|
-
|
|
1808
|
+
created_at: string;
|
|
1809
|
+
updated_at: string;
|
|
1810
|
+
name: string;
|
|
1811
|
+
options?: {
|
|
1797
1812
|
client_secret?: string | undefined;
|
|
1798
1813
|
client_id?: string | undefined;
|
|
1799
1814
|
scope?: string | undefined;
|
|
@@ -1801,17 +1816,14 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1801
1816
|
team_id?: string | undefined;
|
|
1802
1817
|
realms?: string | undefined;
|
|
1803
1818
|
app_secret?: string | undefined;
|
|
1804
|
-
};
|
|
1805
|
-
created_at: string;
|
|
1806
|
-
updated_at: string;
|
|
1807
|
-
name: string;
|
|
1819
|
+
} | undefined;
|
|
1808
1820
|
id?: string | undefined;
|
|
1809
1821
|
client_secret?: string | undefined;
|
|
1810
1822
|
client_id?: string | undefined;
|
|
1811
1823
|
response_type?: AuthorizationResponseType | undefined;
|
|
1812
1824
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1813
1825
|
scope?: string | undefined;
|
|
1814
|
-
strategy?: "email" | "google-oauth2" | "facebook" | "vipps" | "apple" | undefined;
|
|
1826
|
+
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1815
1827
|
kid?: string | undefined;
|
|
1816
1828
|
team_id?: string | undefined;
|
|
1817
1829
|
enabled_clients?: string[] | undefined;
|