@authhero/adapter-interfaces 0.15.3 → 0.15.5
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.
|
@@ -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.
|
|
609
|
-
allowed_origins: z.
|
|
610
|
-
web_origins: z.
|
|
611
|
-
allowed_logout_urls: z.
|
|
612
|
-
allowed_clients: z.
|
|
613
|
-
addons: z.
|
|
608
|
+
callbacks: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
609
|
+
allowed_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
610
|
+
web_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
611
|
+
allowed_logout_urls: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
612
|
+
allowed_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
613
|
+
addons: z.ZodOptional<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>;
|
|
@@ -702,22 +702,23 @@ export declare const applicationInsertSchema: z.ZodObject<{
|
|
|
702
702
|
mappings?: Record<string, string> | undefined;
|
|
703
703
|
} | undefined;
|
|
704
704
|
}>>>;
|
|
705
|
-
email_validation: z.
|
|
705
|
+
email_validation: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
706
706
|
"enabled",
|
|
707
707
|
"disabled",
|
|
708
708
|
"enforced"
|
|
709
709
|
]>>>;
|
|
710
|
-
client_secret: z.
|
|
710
|
+
client_secret: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
711
711
|
disable_sign_ups: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
712
712
|
}, "strip", z.ZodTypeAny, {
|
|
713
713
|
name: string;
|
|
714
714
|
id: string;
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
715
|
+
disable_sign_ups: boolean;
|
|
716
|
+
callbacks?: string[] | undefined;
|
|
717
|
+
allowed_origins?: string[] | undefined;
|
|
718
|
+
web_origins?: string[] | undefined;
|
|
719
|
+
allowed_logout_urls?: string[] | undefined;
|
|
720
|
+
allowed_clients?: string[] | undefined;
|
|
721
|
+
addons?: {
|
|
721
722
|
samlp?: {
|
|
722
723
|
audience?: string | undefined;
|
|
723
724
|
recipient?: string | undefined;
|
|
@@ -736,10 +737,9 @@ export declare const applicationInsertSchema: z.ZodObject<{
|
|
|
736
737
|
authnContextClassRef?: string | undefined;
|
|
737
738
|
mappings?: Record<string, string> | undefined;
|
|
738
739
|
} | undefined;
|
|
739
|
-
};
|
|
740
|
-
email_validation
|
|
741
|
-
client_secret
|
|
742
|
-
disable_sign_ups: boolean;
|
|
740
|
+
} | undefined;
|
|
741
|
+
email_validation?: "enabled" | "disabled" | "enforced" | undefined;
|
|
742
|
+
client_secret?: string | undefined;
|
|
743
743
|
}, {
|
|
744
744
|
name: string;
|
|
745
745
|
id: string;
|
|
@@ -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.
|
|
780
|
-
allowed_origins: z.
|
|
781
|
-
web_origins: z.
|
|
782
|
-
allowed_logout_urls: z.
|
|
783
|
-
allowed_clients: z.
|
|
784
|
-
addons: z.
|
|
779
|
+
callbacks: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
780
|
+
allowed_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
781
|
+
web_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
782
|
+
allowed_logout_urls: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
783
|
+
allowed_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
784
|
+
addons: z.ZodOptional<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>;
|
|
@@ -873,12 +873,12 @@ export declare const applicationSchema: z.ZodObject<{
|
|
|
873
873
|
mappings?: Record<string, string> | undefined;
|
|
874
874
|
} | undefined;
|
|
875
875
|
}>>>;
|
|
876
|
-
email_validation: z.
|
|
876
|
+
email_validation: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
877
877
|
"enabled",
|
|
878
878
|
"disabled",
|
|
879
879
|
"enforced"
|
|
880
880
|
]>>>;
|
|
881
|
-
client_secret: z.
|
|
881
|
+
client_secret: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
882
882
|
disable_sign_ups: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
883
883
|
created_at: z.ZodEffects<z.ZodString, string, string>;
|
|
884
884
|
updated_at: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -887,12 +887,13 @@ export declare const applicationSchema: z.ZodObject<{
|
|
|
887
887
|
updated_at: string;
|
|
888
888
|
name: string;
|
|
889
889
|
id: string;
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
890
|
+
disable_sign_ups: boolean;
|
|
891
|
+
callbacks?: string[] | undefined;
|
|
892
|
+
allowed_origins?: string[] | undefined;
|
|
893
|
+
web_origins?: string[] | undefined;
|
|
894
|
+
allowed_logout_urls?: string[] | undefined;
|
|
895
|
+
allowed_clients?: string[] | undefined;
|
|
896
|
+
addons?: {
|
|
896
897
|
samlp?: {
|
|
897
898
|
audience?: string | undefined;
|
|
898
899
|
recipient?: string | undefined;
|
|
@@ -911,10 +912,9 @@ export declare const applicationSchema: z.ZodObject<{
|
|
|
911
912
|
authnContextClassRef?: string | undefined;
|
|
912
913
|
mappings?: Record<string, string> | undefined;
|
|
913
914
|
} | undefined;
|
|
914
|
-
};
|
|
915
|
-
email_validation
|
|
916
|
-
client_secret
|
|
917
|
-
disable_sign_ups: boolean;
|
|
915
|
+
} | undefined;
|
|
916
|
+
email_validation?: "enabled" | "disabled" | "enforced" | undefined;
|
|
917
|
+
client_secret?: string | undefined;
|
|
918
918
|
}, {
|
|
919
919
|
created_at: string;
|
|
920
920
|
updated_at: string;
|
|
@@ -1165,7 +1165,7 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1165
1165
|
"oauth2",
|
|
1166
1166
|
"custom"
|
|
1167
1167
|
]>>;
|
|
1168
|
-
options: z.
|
|
1168
|
+
options: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
|
1169
1169
|
kid: z.ZodOptional<z.ZodString>;
|
|
1170
1170
|
team_id: z.ZodOptional<z.ZodString>;
|
|
1171
1171
|
realms: z.ZodOptional<z.ZodString>;
|
|
@@ -1190,8 +1190,8 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1190
1190
|
realms?: string | undefined;
|
|
1191
1191
|
app_secret?: string | undefined;
|
|
1192
1192
|
}>>>;
|
|
1193
|
-
enabled_clients: z.
|
|
1194
|
-
authorization_endpoint: z.
|
|
1193
|
+
enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1194
|
+
authorization_endpoint: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1195
1195
|
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
1196
1196
|
response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
|
|
1197
1197
|
client_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1204,7 +1204,10 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1204
1204
|
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
1205
1205
|
scope: z.ZodOptional<z.ZodString>;
|
|
1206
1206
|
}>, "strip", z.ZodTypeAny, {
|
|
1207
|
-
|
|
1207
|
+
created_at: string;
|
|
1208
|
+
updated_at: string;
|
|
1209
|
+
name: string;
|
|
1210
|
+
options?: {
|
|
1208
1211
|
client_secret?: string | undefined;
|
|
1209
1212
|
client_id?: string | undefined;
|
|
1210
1213
|
scope?: string | undefined;
|
|
@@ -1212,12 +1215,7 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1212
1215
|
team_id?: string | undefined;
|
|
1213
1216
|
realms?: string | undefined;
|
|
1214
1217
|
app_secret?: string | undefined;
|
|
1215
|
-
};
|
|
1216
|
-
created_at: string;
|
|
1217
|
-
updated_at: string;
|
|
1218
|
-
name: string;
|
|
1219
|
-
enabled_clients: string[];
|
|
1220
|
-
authorization_endpoint: string;
|
|
1218
|
+
} | undefined;
|
|
1221
1219
|
id?: string | undefined;
|
|
1222
1220
|
client_secret?: string | undefined;
|
|
1223
1221
|
client_id?: string | undefined;
|
|
@@ -1227,6 +1225,8 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1227
1225
|
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1228
1226
|
kid?: string | undefined;
|
|
1229
1227
|
team_id?: string | undefined;
|
|
1228
|
+
enabled_clients?: string[] | undefined;
|
|
1229
|
+
authorization_endpoint?: string | undefined;
|
|
1230
1230
|
private_key?: string | undefined;
|
|
1231
1231
|
token_endpoint?: string | undefined;
|
|
1232
1232
|
token_exchange_basic_auth?: boolean | undefined;
|
|
@@ -1262,12 +1262,12 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1262
1262
|
}>, "many">;
|
|
1263
1263
|
id: z.ZodString;
|
|
1264
1264
|
name: z.ZodString;
|
|
1265
|
-
callbacks: z.
|
|
1266
|
-
allowed_origins: z.
|
|
1267
|
-
web_origins: z.
|
|
1268
|
-
allowed_logout_urls: z.
|
|
1269
|
-
allowed_clients: z.
|
|
1270
|
-
addons: z.
|
|
1265
|
+
callbacks: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1266
|
+
allowed_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1267
|
+
web_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1268
|
+
allowed_logout_urls: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1269
|
+
allowed_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1270
|
+
addons: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
|
1271
1271
|
samlp: z.ZodOptional<z.ZodObject<{
|
|
1272
1272
|
audience: z.ZodOptional<z.ZodString>;
|
|
1273
1273
|
recipient: z.ZodOptional<z.ZodString>;
|
|
@@ -1359,12 +1359,12 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1359
1359
|
mappings?: Record<string, string> | undefined;
|
|
1360
1360
|
} | undefined;
|
|
1361
1361
|
}>>>;
|
|
1362
|
-
email_validation: z.
|
|
1362
|
+
email_validation: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
1363
1363
|
"enabled",
|
|
1364
1364
|
"disabled",
|
|
1365
1365
|
"enforced"
|
|
1366
1366
|
]>>>;
|
|
1367
|
-
client_secret: z.
|
|
1367
|
+
client_secret: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1368
1368
|
disable_sign_ups: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1369
1369
|
created_at: z.ZodEffects<z.ZodString, string, string>;
|
|
1370
1370
|
updated_at: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1373,33 +1373,6 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1373
1373
|
updated_at: string;
|
|
1374
1374
|
name: string;
|
|
1375
1375
|
id: string;
|
|
1376
|
-
callbacks: string[];
|
|
1377
|
-
allowed_origins: string[];
|
|
1378
|
-
web_origins: string[];
|
|
1379
|
-
allowed_logout_urls: string[];
|
|
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
|
-
};
|
|
1401
|
-
email_validation: "enabled" | "disabled" | "enforced";
|
|
1402
|
-
client_secret: string;
|
|
1403
1376
|
disable_sign_ups: boolean;
|
|
1404
1377
|
domains: {
|
|
1405
1378
|
domain: string;
|
|
@@ -1423,7 +1396,10 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1423
1396
|
language?: string | undefined;
|
|
1424
1397
|
};
|
|
1425
1398
|
connections: {
|
|
1426
|
-
|
|
1399
|
+
created_at: string;
|
|
1400
|
+
updated_at: string;
|
|
1401
|
+
name: string;
|
|
1402
|
+
options?: {
|
|
1427
1403
|
client_secret?: string | undefined;
|
|
1428
1404
|
client_id?: string | undefined;
|
|
1429
1405
|
scope?: string | undefined;
|
|
@@ -1431,12 +1407,7 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1431
1407
|
team_id?: string | undefined;
|
|
1432
1408
|
realms?: string | undefined;
|
|
1433
1409
|
app_secret?: string | undefined;
|
|
1434
|
-
};
|
|
1435
|
-
created_at: string;
|
|
1436
|
-
updated_at: string;
|
|
1437
|
-
name: string;
|
|
1438
|
-
enabled_clients: string[];
|
|
1439
|
-
authorization_endpoint: string;
|
|
1410
|
+
} | undefined;
|
|
1440
1411
|
id?: string | undefined;
|
|
1441
1412
|
client_secret?: string | undefined;
|
|
1442
1413
|
client_id?: string | undefined;
|
|
@@ -1446,11 +1417,40 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1446
1417
|
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1447
1418
|
kid?: string | undefined;
|
|
1448
1419
|
team_id?: string | undefined;
|
|
1420
|
+
enabled_clients?: string[] | undefined;
|
|
1421
|
+
authorization_endpoint?: string | undefined;
|
|
1449
1422
|
private_key?: string | undefined;
|
|
1450
1423
|
token_endpoint?: string | undefined;
|
|
1451
1424
|
token_exchange_basic_auth?: boolean | undefined;
|
|
1452
1425
|
userinfo_endpoint?: string | undefined;
|
|
1453
1426
|
}[];
|
|
1427
|
+
callbacks?: string[] | undefined;
|
|
1428
|
+
allowed_origins?: string[] | undefined;
|
|
1429
|
+
web_origins?: string[] | undefined;
|
|
1430
|
+
allowed_logout_urls?: string[] | undefined;
|
|
1431
|
+
allowed_clients?: string[] | undefined;
|
|
1432
|
+
addons?: {
|
|
1433
|
+
samlp?: {
|
|
1434
|
+
audience?: string | undefined;
|
|
1435
|
+
recipient?: string | undefined;
|
|
1436
|
+
createUpnClaim?: boolean | undefined;
|
|
1437
|
+
mapUnknownClaimsAsIs?: boolean | undefined;
|
|
1438
|
+
passthroughClaimsWithNoMapping?: boolean | undefined;
|
|
1439
|
+
mapIdentities?: boolean | undefined;
|
|
1440
|
+
signatureAlgorithm?: string | undefined;
|
|
1441
|
+
digestAlgorithm?: string | undefined;
|
|
1442
|
+
issuer?: string | undefined;
|
|
1443
|
+
destination?: string | undefined;
|
|
1444
|
+
lifetimeInSeconds?: number | undefined;
|
|
1445
|
+
signResponse?: boolean | undefined;
|
|
1446
|
+
nameIdentifierFormat?: string | undefined;
|
|
1447
|
+
nameIdentifierProbes?: string[] | undefined;
|
|
1448
|
+
authnContextClassRef?: string | undefined;
|
|
1449
|
+
mappings?: Record<string, string> | undefined;
|
|
1450
|
+
} | undefined;
|
|
1451
|
+
} | undefined;
|
|
1452
|
+
email_validation?: "enabled" | "disabled" | "enforced" | undefined;
|
|
1453
|
+
client_secret?: string | undefined;
|
|
1454
1454
|
}, {
|
|
1455
1455
|
created_at: string;
|
|
1456
1456
|
updated_at: string;
|
|
@@ -1628,7 +1628,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1628
1628
|
"oauth2",
|
|
1629
1629
|
"custom"
|
|
1630
1630
|
]>>;
|
|
1631
|
-
options: z.
|
|
1631
|
+
options: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
|
1632
1632
|
kid: z.ZodOptional<z.ZodString>;
|
|
1633
1633
|
team_id: z.ZodOptional<z.ZodString>;
|
|
1634
1634
|
realms: z.ZodOptional<z.ZodString>;
|
|
@@ -1653,8 +1653,8 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1653
1653
|
realms?: string | undefined;
|
|
1654
1654
|
app_secret?: string | undefined;
|
|
1655
1655
|
}>>>;
|
|
1656
|
-
enabled_clients: z.
|
|
1657
|
-
authorization_endpoint: z.
|
|
1656
|
+
enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1657
|
+
authorization_endpoint: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1658
1658
|
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
1659
1659
|
response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
|
|
1660
1660
|
client_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1667,7 +1667,8 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1667
1667
|
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
1668
1668
|
scope: z.ZodOptional<z.ZodString>;
|
|
1669
1669
|
}, "strip", z.ZodTypeAny, {
|
|
1670
|
-
|
|
1670
|
+
name: string;
|
|
1671
|
+
options?: {
|
|
1671
1672
|
client_secret?: string | undefined;
|
|
1672
1673
|
client_id?: string | undefined;
|
|
1673
1674
|
scope?: string | undefined;
|
|
@@ -1675,10 +1676,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1675
1676
|
team_id?: string | undefined;
|
|
1676
1677
|
realms?: string | undefined;
|
|
1677
1678
|
app_secret?: string | undefined;
|
|
1678
|
-
};
|
|
1679
|
-
name: string;
|
|
1680
|
-
enabled_clients: string[];
|
|
1681
|
-
authorization_endpoint: string;
|
|
1679
|
+
} | undefined;
|
|
1682
1680
|
id?: string | undefined;
|
|
1683
1681
|
client_secret?: string | undefined;
|
|
1684
1682
|
client_id?: string | undefined;
|
|
@@ -1688,6 +1686,8 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1688
1686
|
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1689
1687
|
kid?: string | undefined;
|
|
1690
1688
|
team_id?: string | undefined;
|
|
1689
|
+
enabled_clients?: string[] | undefined;
|
|
1690
|
+
authorization_endpoint?: string | undefined;
|
|
1691
1691
|
private_key?: string | undefined;
|
|
1692
1692
|
token_endpoint?: string | undefined;
|
|
1693
1693
|
token_exchange_basic_auth?: boolean | undefined;
|
|
@@ -1738,7 +1738,7 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1738
1738
|
"oauth2",
|
|
1739
1739
|
"custom"
|
|
1740
1740
|
]>>;
|
|
1741
|
-
options: z.
|
|
1741
|
+
options: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
|
1742
1742
|
kid: z.ZodOptional<z.ZodString>;
|
|
1743
1743
|
team_id: z.ZodOptional<z.ZodString>;
|
|
1744
1744
|
realms: z.ZodOptional<z.ZodString>;
|
|
@@ -1763,8 +1763,8 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1763
1763
|
realms?: string | undefined;
|
|
1764
1764
|
app_secret?: string | undefined;
|
|
1765
1765
|
}>>>;
|
|
1766
|
-
enabled_clients: z.
|
|
1767
|
-
authorization_endpoint: z.
|
|
1766
|
+
enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1767
|
+
authorization_endpoint: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1768
1768
|
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
1769
1769
|
response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
|
|
1770
1770
|
client_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1777,7 +1777,10 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1777
1777
|
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
1778
1778
|
scope: z.ZodOptional<z.ZodString>;
|
|
1779
1779
|
}>, "strip", z.ZodTypeAny, {
|
|
1780
|
-
|
|
1780
|
+
created_at: string;
|
|
1781
|
+
updated_at: string;
|
|
1782
|
+
name: string;
|
|
1783
|
+
options?: {
|
|
1781
1784
|
client_secret?: string | undefined;
|
|
1782
1785
|
client_id?: string | undefined;
|
|
1783
1786
|
scope?: string | undefined;
|
|
@@ -1785,12 +1788,7 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1785
1788
|
team_id?: string | undefined;
|
|
1786
1789
|
realms?: string | undefined;
|
|
1787
1790
|
app_secret?: string | undefined;
|
|
1788
|
-
};
|
|
1789
|
-
created_at: string;
|
|
1790
|
-
updated_at: string;
|
|
1791
|
-
name: string;
|
|
1792
|
-
enabled_clients: string[];
|
|
1793
|
-
authorization_endpoint: string;
|
|
1791
|
+
} | undefined;
|
|
1794
1792
|
id?: string | undefined;
|
|
1795
1793
|
client_secret?: string | undefined;
|
|
1796
1794
|
client_id?: string | undefined;
|
|
@@ -1800,6 +1798,8 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1800
1798
|
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1801
1799
|
kid?: string | undefined;
|
|
1802
1800
|
team_id?: string | undefined;
|
|
1801
|
+
enabled_clients?: string[] | undefined;
|
|
1802
|
+
authorization_endpoint?: string | undefined;
|
|
1803
1803
|
private_key?: string | undefined;
|
|
1804
1804
|
token_endpoint?: string | undefined;
|
|
1805
1805
|
token_exchange_basic_auth?: boolean | undefined;
|
|
@@ -4279,7 +4279,7 @@ export interface LoginsAdapter {
|
|
|
4279
4279
|
remove: (tenant_id: string, login_id: string) => Promise<boolean>;
|
|
4280
4280
|
}
|
|
4281
4281
|
export interface PromptSettingsAdapter {
|
|
4282
|
-
set: (tenant_id: string, promptSetting: PromptSetting) => Promise<void>;
|
|
4282
|
+
set: (tenant_id: string, promptSetting: Partial<PromptSetting>) => Promise<void>;
|
|
4283
4283
|
get: (tenant_id: string) => Promise<PromptSetting>;
|
|
4284
4284
|
}
|
|
4285
4285
|
export interface DataAdapters {
|