@descope/web-js-sdk 1.48.1 → 1.48.3
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/cjs/index.cjs.js +1 -1
- package/dist/index.d.ts +138 -12
- package/dist/index.esm.js +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -196,6 +196,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
196
196
|
platform: "ios" | "android";
|
|
197
197
|
oauthProvider?: string;
|
|
198
198
|
oauthRedirect?: string;
|
|
199
|
+
externalAuthRedirect?: string;
|
|
199
200
|
};
|
|
200
201
|
thirdPartyAppStateId?: string;
|
|
201
202
|
applicationScopes?: string;
|
|
@@ -217,7 +218,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
217
218
|
};
|
|
218
219
|
webauthn: {
|
|
219
220
|
signUp: ((identifier: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
|
|
220
|
-
start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
221
|
+
start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
221
222
|
transactionId: string;
|
|
222
223
|
options: string;
|
|
223
224
|
create: boolean;
|
|
@@ -233,7 +234,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
233
234
|
finish: (transactionId: string, response: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
|
|
234
235
|
};
|
|
235
236
|
signUpOrIn: ((identifier: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
|
|
236
|
-
start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
237
|
+
start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
237
238
|
transactionId: string;
|
|
238
239
|
options: string;
|
|
239
240
|
create: boolean;
|
|
@@ -329,6 +330,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
329
330
|
templateOptions?: {
|
|
330
331
|
[x: string]: string;
|
|
331
332
|
};
|
|
333
|
+
tenantId?: string;
|
|
332
334
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
333
335
|
maskedPhone: string;
|
|
334
336
|
}>>;
|
|
@@ -345,6 +347,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
345
347
|
templateOptions?: {
|
|
346
348
|
[x: string]: string;
|
|
347
349
|
};
|
|
350
|
+
tenantId?: string;
|
|
348
351
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
349
352
|
maskedPhone: string;
|
|
350
353
|
}>>;
|
|
@@ -361,6 +364,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
361
364
|
templateOptions?: {
|
|
362
365
|
[x: string]: string;
|
|
363
366
|
};
|
|
367
|
+
tenantId?: string;
|
|
364
368
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
365
369
|
maskedPhone: string;
|
|
366
370
|
}>>;
|
|
@@ -377,6 +381,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
377
381
|
templateOptions?: {
|
|
378
382
|
[x: string]: string;
|
|
379
383
|
};
|
|
384
|
+
tenantId?: string;
|
|
380
385
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
381
386
|
maskedPhone: string;
|
|
382
387
|
}>>;
|
|
@@ -393,6 +398,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
393
398
|
templateOptions?: {
|
|
394
399
|
[x: string]: string;
|
|
395
400
|
};
|
|
401
|
+
tenantId?: string;
|
|
396
402
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
397
403
|
maskedEmail: string;
|
|
398
404
|
}>>;
|
|
@@ -507,6 +513,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
507
513
|
templateOptions?: {
|
|
508
514
|
[x: string]: string;
|
|
509
515
|
};
|
|
516
|
+
tenantId?: string;
|
|
510
517
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
511
518
|
maskedPhone: string;
|
|
512
519
|
}>>;
|
|
@@ -523,6 +530,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
523
530
|
templateOptions?: {
|
|
524
531
|
[x: string]: string;
|
|
525
532
|
};
|
|
533
|
+
tenantId?: string;
|
|
526
534
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
527
535
|
maskedPhone: string;
|
|
528
536
|
}>>;
|
|
@@ -539,6 +547,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
539
547
|
templateOptions?: {
|
|
540
548
|
[x: string]: string;
|
|
541
549
|
};
|
|
550
|
+
tenantId?: string;
|
|
542
551
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
543
552
|
maskedPhone: string;
|
|
544
553
|
}>>;
|
|
@@ -555,6 +564,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
555
564
|
templateOptions?: {
|
|
556
565
|
[x: string]: string;
|
|
557
566
|
};
|
|
567
|
+
tenantId?: string;
|
|
558
568
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
559
569
|
maskedPhone: string;
|
|
560
570
|
}>>;
|
|
@@ -571,6 +581,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
571
581
|
templateOptions?: {
|
|
572
582
|
[x: string]: string;
|
|
573
583
|
};
|
|
584
|
+
tenantId?: string;
|
|
574
585
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
575
586
|
maskedEmail: string;
|
|
576
587
|
}>>;
|
|
@@ -582,6 +593,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
582
593
|
templateOptions?: {
|
|
583
594
|
[x: string]: string;
|
|
584
595
|
};
|
|
596
|
+
tenantId?: string;
|
|
585
597
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
586
598
|
maskedPhone: string;
|
|
587
599
|
}>>;
|
|
@@ -591,6 +603,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
591
603
|
templateOptions?: {
|
|
592
604
|
[x: string]: string;
|
|
593
605
|
};
|
|
606
|
+
tenantId?: string;
|
|
594
607
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
595
608
|
maskedPhone: string;
|
|
596
609
|
}>>;
|
|
@@ -600,6 +613,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
600
613
|
templateOptions?: {
|
|
601
614
|
[x: string]: string;
|
|
602
615
|
};
|
|
616
|
+
tenantId?: string;
|
|
603
617
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
604
618
|
maskedPhone: string;
|
|
605
619
|
}>>;
|
|
@@ -609,6 +623,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
609
623
|
templateOptions?: {
|
|
610
624
|
[x: string]: string;
|
|
611
625
|
};
|
|
626
|
+
tenantId?: string;
|
|
612
627
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
613
628
|
maskedPhone: string;
|
|
614
629
|
}>>;
|
|
@@ -618,6 +633,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
618
633
|
templateOptions?: {
|
|
619
634
|
[x: string]: string;
|
|
620
635
|
};
|
|
636
|
+
tenantId?: string;
|
|
621
637
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
622
638
|
maskedEmail: string;
|
|
623
639
|
}>>;
|
|
@@ -693,6 +709,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
693
709
|
templateOptions?: {
|
|
694
710
|
[x: string]: string;
|
|
695
711
|
};
|
|
712
|
+
tenantId?: string;
|
|
696
713
|
} & {
|
|
697
714
|
providerId?: string;
|
|
698
715
|
}) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
|
|
@@ -709,6 +726,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
709
726
|
templateOptions?: {
|
|
710
727
|
[x: string]: string;
|
|
711
728
|
};
|
|
729
|
+
tenantId?: string;
|
|
712
730
|
} & {
|
|
713
731
|
providerId?: string;
|
|
714
732
|
}) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
|
|
@@ -783,6 +801,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
783
801
|
templateOptions?: {
|
|
784
802
|
[x: string]: string;
|
|
785
803
|
};
|
|
804
|
+
tenantId?: string;
|
|
786
805
|
} & {
|
|
787
806
|
providerId?: string;
|
|
788
807
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
@@ -803,6 +822,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
803
822
|
templateOptions?: {
|
|
804
823
|
[x: string]: string;
|
|
805
824
|
};
|
|
825
|
+
tenantId?: string;
|
|
806
826
|
} & {
|
|
807
827
|
providerId?: string;
|
|
808
828
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
@@ -836,6 +856,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
836
856
|
templateOptions?: {
|
|
837
857
|
[x: string]: string;
|
|
838
858
|
};
|
|
859
|
+
tenantId?: string;
|
|
839
860
|
} & {
|
|
840
861
|
providerId?: string;
|
|
841
862
|
}) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
|
|
@@ -917,6 +938,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
917
938
|
platform: "ios" | "android";
|
|
918
939
|
oauthProvider?: string;
|
|
919
940
|
oauthRedirect?: string;
|
|
941
|
+
externalAuthRedirect?: string;
|
|
920
942
|
};
|
|
921
943
|
thirdPartyAppStateId?: string;
|
|
922
944
|
applicationScopes?: string;
|
|
@@ -938,7 +960,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
938
960
|
};
|
|
939
961
|
webauthn: {
|
|
940
962
|
signUp: ((identifier: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
|
|
941
|
-
start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
963
|
+
start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
942
964
|
transactionId: string;
|
|
943
965
|
options: string;
|
|
944
966
|
create: boolean;
|
|
@@ -954,7 +976,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
954
976
|
finish: (transactionId: string, response: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
|
|
955
977
|
};
|
|
956
978
|
signUpOrIn: ((identifier: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
|
|
957
|
-
start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
979
|
+
start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
958
980
|
transactionId: string;
|
|
959
981
|
options: string;
|
|
960
982
|
create: boolean;
|
|
@@ -1050,6 +1072,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
1050
1072
|
templateOptions?: {
|
|
1051
1073
|
[x: string]: string;
|
|
1052
1074
|
};
|
|
1075
|
+
tenantId?: string;
|
|
1053
1076
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
1054
1077
|
maskedPhone: string;
|
|
1055
1078
|
}>>;
|
|
@@ -1066,6 +1089,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
1066
1089
|
templateOptions?: {
|
|
1067
1090
|
[x: string]: string;
|
|
1068
1091
|
};
|
|
1092
|
+
tenantId?: string;
|
|
1069
1093
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
1070
1094
|
maskedPhone: string;
|
|
1071
1095
|
}>>;
|
|
@@ -1082,6 +1106,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
1082
1106
|
templateOptions?: {
|
|
1083
1107
|
[x: string]: string;
|
|
1084
1108
|
};
|
|
1109
|
+
tenantId?: string;
|
|
1085
1110
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
1086
1111
|
maskedPhone: string;
|
|
1087
1112
|
}>>;
|
|
@@ -1098,6 +1123,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
1098
1123
|
templateOptions?: {
|
|
1099
1124
|
[x: string]: string;
|
|
1100
1125
|
};
|
|
1126
|
+
tenantId?: string;
|
|
1101
1127
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
1102
1128
|
maskedPhone: string;
|
|
1103
1129
|
}>>;
|
|
@@ -1114,6 +1140,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
1114
1140
|
templateOptions?: {
|
|
1115
1141
|
[x: string]: string;
|
|
1116
1142
|
};
|
|
1143
|
+
tenantId?: string;
|
|
1117
1144
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
1118
1145
|
maskedEmail: string;
|
|
1119
1146
|
}>>;
|
|
@@ -1228,6 +1255,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
1228
1255
|
templateOptions?: {
|
|
1229
1256
|
[x: string]: string;
|
|
1230
1257
|
};
|
|
1258
|
+
tenantId?: string;
|
|
1231
1259
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
1232
1260
|
maskedPhone: string;
|
|
1233
1261
|
}>>;
|
|
@@ -1244,6 +1272,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
1244
1272
|
templateOptions?: {
|
|
1245
1273
|
[x: string]: string;
|
|
1246
1274
|
};
|
|
1275
|
+
tenantId?: string;
|
|
1247
1276
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
1248
1277
|
maskedPhone: string;
|
|
1249
1278
|
}>>;
|
|
@@ -1260,6 +1289,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
1260
1289
|
templateOptions?: {
|
|
1261
1290
|
[x: string]: string;
|
|
1262
1291
|
};
|
|
1292
|
+
tenantId?: string;
|
|
1263
1293
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
1264
1294
|
maskedPhone: string;
|
|
1265
1295
|
}>>;
|
|
@@ -1276,6 +1306,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
1276
1306
|
templateOptions?: {
|
|
1277
1307
|
[x: string]: string;
|
|
1278
1308
|
};
|
|
1309
|
+
tenantId?: string;
|
|
1279
1310
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
1280
1311
|
maskedPhone: string;
|
|
1281
1312
|
}>>;
|
|
@@ -1292,6 +1323,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
1292
1323
|
templateOptions?: {
|
|
1293
1324
|
[x: string]: string;
|
|
1294
1325
|
};
|
|
1326
|
+
tenantId?: string;
|
|
1295
1327
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
1296
1328
|
maskedEmail: string;
|
|
1297
1329
|
}>>;
|
|
@@ -1303,6 +1335,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
1303
1335
|
templateOptions?: {
|
|
1304
1336
|
[x: string]: string;
|
|
1305
1337
|
};
|
|
1338
|
+
tenantId?: string;
|
|
1306
1339
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
1307
1340
|
maskedPhone: string;
|
|
1308
1341
|
}>>;
|
|
@@ -1312,6 +1345,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
1312
1345
|
templateOptions?: {
|
|
1313
1346
|
[x: string]: string;
|
|
1314
1347
|
};
|
|
1348
|
+
tenantId?: string;
|
|
1315
1349
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
1316
1350
|
maskedPhone: string;
|
|
1317
1351
|
}>>;
|
|
@@ -1321,6 +1355,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
1321
1355
|
templateOptions?: {
|
|
1322
1356
|
[x: string]: string;
|
|
1323
1357
|
};
|
|
1358
|
+
tenantId?: string;
|
|
1324
1359
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
1325
1360
|
maskedPhone: string;
|
|
1326
1361
|
}>>;
|
|
@@ -1330,6 +1365,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
1330
1365
|
templateOptions?: {
|
|
1331
1366
|
[x: string]: string;
|
|
1332
1367
|
};
|
|
1368
|
+
tenantId?: string;
|
|
1333
1369
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
1334
1370
|
maskedPhone: string;
|
|
1335
1371
|
}>>;
|
|
@@ -1339,6 +1375,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
1339
1375
|
templateOptions?: {
|
|
1340
1376
|
[x: string]: string;
|
|
1341
1377
|
};
|
|
1378
|
+
tenantId?: string;
|
|
1342
1379
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
1343
1380
|
maskedEmail: string;
|
|
1344
1381
|
}>>;
|
|
@@ -1414,6 +1451,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
1414
1451
|
templateOptions?: {
|
|
1415
1452
|
[x: string]: string;
|
|
1416
1453
|
};
|
|
1454
|
+
tenantId?: string;
|
|
1417
1455
|
} & {
|
|
1418
1456
|
providerId?: string;
|
|
1419
1457
|
}) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
|
|
@@ -1430,6 +1468,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
1430
1468
|
templateOptions?: {
|
|
1431
1469
|
[x: string]: string;
|
|
1432
1470
|
};
|
|
1471
|
+
tenantId?: string;
|
|
1433
1472
|
} & {
|
|
1434
1473
|
providerId?: string;
|
|
1435
1474
|
}) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
|
|
@@ -1504,6 +1543,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
1504
1543
|
templateOptions?: {
|
|
1505
1544
|
[x: string]: string;
|
|
1506
1545
|
};
|
|
1546
|
+
tenantId?: string;
|
|
1507
1547
|
} & {
|
|
1508
1548
|
providerId?: string;
|
|
1509
1549
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
@@ -1524,6 +1564,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
1524
1564
|
templateOptions?: {
|
|
1525
1565
|
[x: string]: string;
|
|
1526
1566
|
};
|
|
1567
|
+
tenantId?: string;
|
|
1527
1568
|
} & {
|
|
1528
1569
|
providerId?: string;
|
|
1529
1570
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
@@ -1557,6 +1598,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
1557
1598
|
templateOptions?: {
|
|
1558
1599
|
[x: string]: string;
|
|
1559
1600
|
};
|
|
1601
|
+
tenantId?: string;
|
|
1560
1602
|
} & {
|
|
1561
1603
|
providerId?: string;
|
|
1562
1604
|
}) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
|
|
@@ -1638,6 +1680,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
1638
1680
|
platform: "ios" | "android";
|
|
1639
1681
|
oauthProvider?: string;
|
|
1640
1682
|
oauthRedirect?: string;
|
|
1683
|
+
externalAuthRedirect?: string;
|
|
1641
1684
|
};
|
|
1642
1685
|
thirdPartyAppStateId?: string;
|
|
1643
1686
|
applicationScopes?: string;
|
|
@@ -1659,7 +1702,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
1659
1702
|
};
|
|
1660
1703
|
webauthn: {
|
|
1661
1704
|
signUp: ((identifier: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
|
|
1662
|
-
start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
1705
|
+
start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
1663
1706
|
transactionId: string;
|
|
1664
1707
|
options: string;
|
|
1665
1708
|
create: boolean;
|
|
@@ -1675,7 +1718,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
1675
1718
|
finish: (transactionId: string, response: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
|
|
1676
1719
|
};
|
|
1677
1720
|
signUpOrIn: ((identifier: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
|
|
1678
|
-
start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
1721
|
+
start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
1679
1722
|
transactionId: string;
|
|
1680
1723
|
options: string;
|
|
1681
1724
|
create: boolean;
|
|
@@ -1771,6 +1814,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
1771
1814
|
templateOptions?: {
|
|
1772
1815
|
[x: string]: string;
|
|
1773
1816
|
};
|
|
1817
|
+
tenantId?: string;
|
|
1774
1818
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
1775
1819
|
maskedPhone: string;
|
|
1776
1820
|
}>>;
|
|
@@ -1787,6 +1831,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
1787
1831
|
templateOptions?: {
|
|
1788
1832
|
[x: string]: string;
|
|
1789
1833
|
};
|
|
1834
|
+
tenantId?: string;
|
|
1790
1835
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
1791
1836
|
maskedPhone: string;
|
|
1792
1837
|
}>>;
|
|
@@ -1803,6 +1848,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
1803
1848
|
templateOptions?: {
|
|
1804
1849
|
[x: string]: string;
|
|
1805
1850
|
};
|
|
1851
|
+
tenantId?: string;
|
|
1806
1852
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
1807
1853
|
maskedPhone: string;
|
|
1808
1854
|
}>>;
|
|
@@ -1819,6 +1865,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
1819
1865
|
templateOptions?: {
|
|
1820
1866
|
[x: string]: string;
|
|
1821
1867
|
};
|
|
1868
|
+
tenantId?: string;
|
|
1822
1869
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
1823
1870
|
maskedPhone: string;
|
|
1824
1871
|
}>>;
|
|
@@ -1835,6 +1882,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
1835
1882
|
templateOptions?: {
|
|
1836
1883
|
[x: string]: string;
|
|
1837
1884
|
};
|
|
1885
|
+
tenantId?: string;
|
|
1838
1886
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
1839
1887
|
maskedEmail: string;
|
|
1840
1888
|
}>>;
|
|
@@ -1949,6 +1997,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
1949
1997
|
templateOptions?: {
|
|
1950
1998
|
[x: string]: string;
|
|
1951
1999
|
};
|
|
2000
|
+
tenantId?: string;
|
|
1952
2001
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
1953
2002
|
maskedPhone: string;
|
|
1954
2003
|
}>>;
|
|
@@ -1965,6 +2014,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
1965
2014
|
templateOptions?: {
|
|
1966
2015
|
[x: string]: string;
|
|
1967
2016
|
};
|
|
2017
|
+
tenantId?: string;
|
|
1968
2018
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
1969
2019
|
maskedPhone: string;
|
|
1970
2020
|
}>>;
|
|
@@ -1981,6 +2031,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
1981
2031
|
templateOptions?: {
|
|
1982
2032
|
[x: string]: string;
|
|
1983
2033
|
};
|
|
2034
|
+
tenantId?: string;
|
|
1984
2035
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
1985
2036
|
maskedPhone: string;
|
|
1986
2037
|
}>>;
|
|
@@ -1997,6 +2048,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
1997
2048
|
templateOptions?: {
|
|
1998
2049
|
[x: string]: string;
|
|
1999
2050
|
};
|
|
2051
|
+
tenantId?: string;
|
|
2000
2052
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
2001
2053
|
maskedPhone: string;
|
|
2002
2054
|
}>>;
|
|
@@ -2013,6 +2065,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
2013
2065
|
templateOptions?: {
|
|
2014
2066
|
[x: string]: string;
|
|
2015
2067
|
};
|
|
2068
|
+
tenantId?: string;
|
|
2016
2069
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
2017
2070
|
maskedEmail: string;
|
|
2018
2071
|
}>>;
|
|
@@ -2024,6 +2077,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
2024
2077
|
templateOptions?: {
|
|
2025
2078
|
[x: string]: string;
|
|
2026
2079
|
};
|
|
2080
|
+
tenantId?: string;
|
|
2027
2081
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
2028
2082
|
maskedPhone: string;
|
|
2029
2083
|
}>>;
|
|
@@ -2033,6 +2087,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
2033
2087
|
templateOptions?: {
|
|
2034
2088
|
[x: string]: string;
|
|
2035
2089
|
};
|
|
2090
|
+
tenantId?: string;
|
|
2036
2091
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
2037
2092
|
maskedPhone: string;
|
|
2038
2093
|
}>>;
|
|
@@ -2042,6 +2097,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
2042
2097
|
templateOptions?: {
|
|
2043
2098
|
[x: string]: string;
|
|
2044
2099
|
};
|
|
2100
|
+
tenantId?: string;
|
|
2045
2101
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
2046
2102
|
maskedPhone: string;
|
|
2047
2103
|
}>>;
|
|
@@ -2051,6 +2107,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
2051
2107
|
templateOptions?: {
|
|
2052
2108
|
[x: string]: string;
|
|
2053
2109
|
};
|
|
2110
|
+
tenantId?: string;
|
|
2054
2111
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
2055
2112
|
maskedPhone: string;
|
|
2056
2113
|
}>>;
|
|
@@ -2060,6 +2117,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
2060
2117
|
templateOptions?: {
|
|
2061
2118
|
[x: string]: string;
|
|
2062
2119
|
};
|
|
2120
|
+
tenantId?: string;
|
|
2063
2121
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
2064
2122
|
maskedEmail: string;
|
|
2065
2123
|
}>>;
|
|
@@ -2135,6 +2193,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
2135
2193
|
templateOptions?: {
|
|
2136
2194
|
[x: string]: string;
|
|
2137
2195
|
};
|
|
2196
|
+
tenantId?: string;
|
|
2138
2197
|
} & {
|
|
2139
2198
|
providerId?: string;
|
|
2140
2199
|
}) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
|
|
@@ -2151,6 +2210,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
2151
2210
|
templateOptions?: {
|
|
2152
2211
|
[x: string]: string;
|
|
2153
2212
|
};
|
|
2213
|
+
tenantId?: string;
|
|
2154
2214
|
} & {
|
|
2155
2215
|
providerId?: string;
|
|
2156
2216
|
}) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
|
|
@@ -2225,6 +2285,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
2225
2285
|
templateOptions?: {
|
|
2226
2286
|
[x: string]: string;
|
|
2227
2287
|
};
|
|
2288
|
+
tenantId?: string;
|
|
2228
2289
|
} & {
|
|
2229
2290
|
providerId?: string;
|
|
2230
2291
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
@@ -2245,6 +2306,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
2245
2306
|
templateOptions?: {
|
|
2246
2307
|
[x: string]: string;
|
|
2247
2308
|
};
|
|
2309
|
+
tenantId?: string;
|
|
2248
2310
|
} & {
|
|
2249
2311
|
providerId?: string;
|
|
2250
2312
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
@@ -2278,6 +2340,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
2278
2340
|
templateOptions?: {
|
|
2279
2341
|
[x: string]: string;
|
|
2280
2342
|
};
|
|
2343
|
+
tenantId?: string;
|
|
2281
2344
|
} & {
|
|
2282
2345
|
providerId?: string;
|
|
2283
2346
|
}) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
|
|
@@ -2369,6 +2432,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
2369
2432
|
platform: "ios" | "android";
|
|
2370
2433
|
oauthProvider?: string;
|
|
2371
2434
|
oauthRedirect?: string;
|
|
2435
|
+
externalAuthRedirect?: string;
|
|
2372
2436
|
};
|
|
2373
2437
|
thirdPartyAppStateId?: string;
|
|
2374
2438
|
applicationScopes?: string;
|
|
@@ -2390,7 +2454,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
2390
2454
|
};
|
|
2391
2455
|
webauthn: {
|
|
2392
2456
|
signUp: ((identifier: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
|
|
2393
|
-
start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
2457
|
+
start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
2394
2458
|
transactionId: string;
|
|
2395
2459
|
options: string;
|
|
2396
2460
|
create: boolean;
|
|
@@ -2406,7 +2470,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
2406
2470
|
finish: (transactionId: string, response: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
|
|
2407
2471
|
};
|
|
2408
2472
|
signUpOrIn: ((identifier: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
|
|
2409
|
-
start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
2473
|
+
start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
2410
2474
|
transactionId: string;
|
|
2411
2475
|
options: string;
|
|
2412
2476
|
create: boolean;
|
|
@@ -2502,6 +2566,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
2502
2566
|
templateOptions?: {
|
|
2503
2567
|
[x: string]: string;
|
|
2504
2568
|
};
|
|
2569
|
+
tenantId?: string;
|
|
2505
2570
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
2506
2571
|
maskedPhone: string;
|
|
2507
2572
|
}>>;
|
|
@@ -2518,6 +2583,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
2518
2583
|
templateOptions?: {
|
|
2519
2584
|
[x: string]: string;
|
|
2520
2585
|
};
|
|
2586
|
+
tenantId?: string;
|
|
2521
2587
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
2522
2588
|
maskedPhone: string;
|
|
2523
2589
|
}>>;
|
|
@@ -2534,6 +2600,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
2534
2600
|
templateOptions?: {
|
|
2535
2601
|
[x: string]: string;
|
|
2536
2602
|
};
|
|
2603
|
+
tenantId?: string;
|
|
2537
2604
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
2538
2605
|
maskedPhone: string;
|
|
2539
2606
|
}>>;
|
|
@@ -2550,6 +2617,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
2550
2617
|
templateOptions?: {
|
|
2551
2618
|
[x: string]: string;
|
|
2552
2619
|
};
|
|
2620
|
+
tenantId?: string;
|
|
2553
2621
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
2554
2622
|
maskedPhone: string;
|
|
2555
2623
|
}>>;
|
|
@@ -2566,6 +2634,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
2566
2634
|
templateOptions?: {
|
|
2567
2635
|
[x: string]: string;
|
|
2568
2636
|
};
|
|
2637
|
+
tenantId?: string;
|
|
2569
2638
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
2570
2639
|
maskedEmail: string;
|
|
2571
2640
|
}>>;
|
|
@@ -2680,6 +2749,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
2680
2749
|
templateOptions?: {
|
|
2681
2750
|
[x: string]: string;
|
|
2682
2751
|
};
|
|
2752
|
+
tenantId?: string;
|
|
2683
2753
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
2684
2754
|
maskedPhone: string;
|
|
2685
2755
|
}>>;
|
|
@@ -2696,6 +2766,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
2696
2766
|
templateOptions?: {
|
|
2697
2767
|
[x: string]: string;
|
|
2698
2768
|
};
|
|
2769
|
+
tenantId?: string;
|
|
2699
2770
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
2700
2771
|
maskedPhone: string;
|
|
2701
2772
|
}>>;
|
|
@@ -2712,6 +2783,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
2712
2783
|
templateOptions?: {
|
|
2713
2784
|
[x: string]: string;
|
|
2714
2785
|
};
|
|
2786
|
+
tenantId?: string;
|
|
2715
2787
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
2716
2788
|
maskedPhone: string;
|
|
2717
2789
|
}>>;
|
|
@@ -2728,6 +2800,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
2728
2800
|
templateOptions?: {
|
|
2729
2801
|
[x: string]: string;
|
|
2730
2802
|
};
|
|
2803
|
+
tenantId?: string;
|
|
2731
2804
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
2732
2805
|
maskedPhone: string;
|
|
2733
2806
|
}>>;
|
|
@@ -2744,6 +2817,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
2744
2817
|
templateOptions?: {
|
|
2745
2818
|
[x: string]: string;
|
|
2746
2819
|
};
|
|
2820
|
+
tenantId?: string;
|
|
2747
2821
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
2748
2822
|
maskedEmail: string;
|
|
2749
2823
|
}>>;
|
|
@@ -2755,6 +2829,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
2755
2829
|
templateOptions?: {
|
|
2756
2830
|
[x: string]: string;
|
|
2757
2831
|
};
|
|
2832
|
+
tenantId?: string;
|
|
2758
2833
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
2759
2834
|
maskedPhone: string;
|
|
2760
2835
|
}>>;
|
|
@@ -2764,6 +2839,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
2764
2839
|
templateOptions?: {
|
|
2765
2840
|
[x: string]: string;
|
|
2766
2841
|
};
|
|
2842
|
+
tenantId?: string;
|
|
2767
2843
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
2768
2844
|
maskedPhone: string;
|
|
2769
2845
|
}>>;
|
|
@@ -2773,6 +2849,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
2773
2849
|
templateOptions?: {
|
|
2774
2850
|
[x: string]: string;
|
|
2775
2851
|
};
|
|
2852
|
+
tenantId?: string;
|
|
2776
2853
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
2777
2854
|
maskedPhone: string;
|
|
2778
2855
|
}>>;
|
|
@@ -2782,6 +2859,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
2782
2859
|
templateOptions?: {
|
|
2783
2860
|
[x: string]: string;
|
|
2784
2861
|
};
|
|
2862
|
+
tenantId?: string;
|
|
2785
2863
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
2786
2864
|
maskedPhone: string;
|
|
2787
2865
|
}>>;
|
|
@@ -2791,6 +2869,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
2791
2869
|
templateOptions?: {
|
|
2792
2870
|
[x: string]: string;
|
|
2793
2871
|
};
|
|
2872
|
+
tenantId?: string;
|
|
2794
2873
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
2795
2874
|
maskedEmail: string;
|
|
2796
2875
|
}>>;
|
|
@@ -2866,6 +2945,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
2866
2945
|
templateOptions?: {
|
|
2867
2946
|
[x: string]: string;
|
|
2868
2947
|
};
|
|
2948
|
+
tenantId?: string;
|
|
2869
2949
|
} & {
|
|
2870
2950
|
providerId?: string;
|
|
2871
2951
|
}) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
|
|
@@ -2882,6 +2962,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
2882
2962
|
templateOptions?: {
|
|
2883
2963
|
[x: string]: string;
|
|
2884
2964
|
};
|
|
2965
|
+
tenantId?: string;
|
|
2885
2966
|
} & {
|
|
2886
2967
|
providerId?: string;
|
|
2887
2968
|
}) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
|
|
@@ -2956,6 +3037,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
2956
3037
|
templateOptions?: {
|
|
2957
3038
|
[x: string]: string;
|
|
2958
3039
|
};
|
|
3040
|
+
tenantId?: string;
|
|
2959
3041
|
} & {
|
|
2960
3042
|
providerId?: string;
|
|
2961
3043
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
@@ -2976,6 +3058,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
2976
3058
|
templateOptions?: {
|
|
2977
3059
|
[x: string]: string;
|
|
2978
3060
|
};
|
|
3061
|
+
tenantId?: string;
|
|
2979
3062
|
} & {
|
|
2980
3063
|
providerId?: string;
|
|
2981
3064
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
@@ -3009,6 +3092,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
3009
3092
|
templateOptions?: {
|
|
3010
3093
|
[x: string]: string;
|
|
3011
3094
|
};
|
|
3095
|
+
tenantId?: string;
|
|
3012
3096
|
} & {
|
|
3013
3097
|
providerId?: string;
|
|
3014
3098
|
}) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
|
|
@@ -3090,6 +3174,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
3090
3174
|
platform: "ios" | "android";
|
|
3091
3175
|
oauthProvider?: string;
|
|
3092
3176
|
oauthRedirect?: string;
|
|
3177
|
+
externalAuthRedirect?: string;
|
|
3093
3178
|
};
|
|
3094
3179
|
thirdPartyAppStateId?: string;
|
|
3095
3180
|
applicationScopes?: string;
|
|
@@ -3111,7 +3196,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
3111
3196
|
};
|
|
3112
3197
|
webauthn: {
|
|
3113
3198
|
signUp: ((identifier: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
|
|
3114
|
-
start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
3199
|
+
start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
3115
3200
|
transactionId: string;
|
|
3116
3201
|
options: string;
|
|
3117
3202
|
create: boolean;
|
|
@@ -3127,7 +3212,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
3127
3212
|
finish: (transactionId: string, response: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
|
|
3128
3213
|
};
|
|
3129
3214
|
signUpOrIn: ((identifier: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
|
|
3130
|
-
start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
3215
|
+
start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
3131
3216
|
transactionId: string;
|
|
3132
3217
|
options: string;
|
|
3133
3218
|
create: boolean;
|
|
@@ -3223,6 +3308,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
3223
3308
|
templateOptions?: {
|
|
3224
3309
|
[x: string]: string;
|
|
3225
3310
|
};
|
|
3311
|
+
tenantId?: string;
|
|
3226
3312
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
3227
3313
|
maskedPhone: string;
|
|
3228
3314
|
}>>;
|
|
@@ -3239,6 +3325,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
3239
3325
|
templateOptions?: {
|
|
3240
3326
|
[x: string]: string;
|
|
3241
3327
|
};
|
|
3328
|
+
tenantId?: string;
|
|
3242
3329
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
3243
3330
|
maskedPhone: string;
|
|
3244
3331
|
}>>;
|
|
@@ -3255,6 +3342,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
3255
3342
|
templateOptions?: {
|
|
3256
3343
|
[x: string]: string;
|
|
3257
3344
|
};
|
|
3345
|
+
tenantId?: string;
|
|
3258
3346
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
3259
3347
|
maskedPhone: string;
|
|
3260
3348
|
}>>;
|
|
@@ -3271,6 +3359,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
3271
3359
|
templateOptions?: {
|
|
3272
3360
|
[x: string]: string;
|
|
3273
3361
|
};
|
|
3362
|
+
tenantId?: string;
|
|
3274
3363
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
3275
3364
|
maskedPhone: string;
|
|
3276
3365
|
}>>;
|
|
@@ -3287,6 +3376,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
3287
3376
|
templateOptions?: {
|
|
3288
3377
|
[x: string]: string;
|
|
3289
3378
|
};
|
|
3379
|
+
tenantId?: string;
|
|
3290
3380
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
3291
3381
|
maskedEmail: string;
|
|
3292
3382
|
}>>;
|
|
@@ -3401,6 +3491,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
3401
3491
|
templateOptions?: {
|
|
3402
3492
|
[x: string]: string;
|
|
3403
3493
|
};
|
|
3494
|
+
tenantId?: string;
|
|
3404
3495
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
3405
3496
|
maskedPhone: string;
|
|
3406
3497
|
}>>;
|
|
@@ -3417,6 +3508,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
3417
3508
|
templateOptions?: {
|
|
3418
3509
|
[x: string]: string;
|
|
3419
3510
|
};
|
|
3511
|
+
tenantId?: string;
|
|
3420
3512
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
3421
3513
|
maskedPhone: string;
|
|
3422
3514
|
}>>;
|
|
@@ -3433,6 +3525,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
3433
3525
|
templateOptions?: {
|
|
3434
3526
|
[x: string]: string;
|
|
3435
3527
|
};
|
|
3528
|
+
tenantId?: string;
|
|
3436
3529
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
3437
3530
|
maskedPhone: string;
|
|
3438
3531
|
}>>;
|
|
@@ -3449,6 +3542,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
3449
3542
|
templateOptions?: {
|
|
3450
3543
|
[x: string]: string;
|
|
3451
3544
|
};
|
|
3545
|
+
tenantId?: string;
|
|
3452
3546
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
3453
3547
|
maskedPhone: string;
|
|
3454
3548
|
}>>;
|
|
@@ -3465,6 +3559,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
3465
3559
|
templateOptions?: {
|
|
3466
3560
|
[x: string]: string;
|
|
3467
3561
|
};
|
|
3562
|
+
tenantId?: string;
|
|
3468
3563
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
3469
3564
|
maskedEmail: string;
|
|
3470
3565
|
}>>;
|
|
@@ -3476,6 +3571,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
3476
3571
|
templateOptions?: {
|
|
3477
3572
|
[x: string]: string;
|
|
3478
3573
|
};
|
|
3574
|
+
tenantId?: string;
|
|
3479
3575
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
3480
3576
|
maskedPhone: string;
|
|
3481
3577
|
}>>;
|
|
@@ -3485,6 +3581,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
3485
3581
|
templateOptions?: {
|
|
3486
3582
|
[x: string]: string;
|
|
3487
3583
|
};
|
|
3584
|
+
tenantId?: string;
|
|
3488
3585
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
3489
3586
|
maskedPhone: string;
|
|
3490
3587
|
}>>;
|
|
@@ -3494,6 +3591,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
3494
3591
|
templateOptions?: {
|
|
3495
3592
|
[x: string]: string;
|
|
3496
3593
|
};
|
|
3594
|
+
tenantId?: string;
|
|
3497
3595
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
3498
3596
|
maskedPhone: string;
|
|
3499
3597
|
}>>;
|
|
@@ -3503,6 +3601,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
3503
3601
|
templateOptions?: {
|
|
3504
3602
|
[x: string]: string;
|
|
3505
3603
|
};
|
|
3604
|
+
tenantId?: string;
|
|
3506
3605
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
3507
3606
|
maskedPhone: string;
|
|
3508
3607
|
}>>;
|
|
@@ -3512,6 +3611,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
3512
3611
|
templateOptions?: {
|
|
3513
3612
|
[x: string]: string;
|
|
3514
3613
|
};
|
|
3614
|
+
tenantId?: string;
|
|
3515
3615
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
3516
3616
|
maskedEmail: string;
|
|
3517
3617
|
}>>;
|
|
@@ -3587,6 +3687,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
3587
3687
|
templateOptions?: {
|
|
3588
3688
|
[x: string]: string;
|
|
3589
3689
|
};
|
|
3690
|
+
tenantId?: string;
|
|
3590
3691
|
} & {
|
|
3591
3692
|
providerId?: string;
|
|
3592
3693
|
}) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
|
|
@@ -3603,6 +3704,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
3603
3704
|
templateOptions?: {
|
|
3604
3705
|
[x: string]: string;
|
|
3605
3706
|
};
|
|
3707
|
+
tenantId?: string;
|
|
3606
3708
|
} & {
|
|
3607
3709
|
providerId?: string;
|
|
3608
3710
|
}) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
|
|
@@ -3677,6 +3779,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
3677
3779
|
templateOptions?: {
|
|
3678
3780
|
[x: string]: string;
|
|
3679
3781
|
};
|
|
3782
|
+
tenantId?: string;
|
|
3680
3783
|
} & {
|
|
3681
3784
|
providerId?: string;
|
|
3682
3785
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
@@ -3697,6 +3800,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
3697
3800
|
templateOptions?: {
|
|
3698
3801
|
[x: string]: string;
|
|
3699
3802
|
};
|
|
3803
|
+
tenantId?: string;
|
|
3700
3804
|
} & {
|
|
3701
3805
|
providerId?: string;
|
|
3702
3806
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
@@ -3730,6 +3834,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
3730
3834
|
templateOptions?: {
|
|
3731
3835
|
[x: string]: string;
|
|
3732
3836
|
};
|
|
3837
|
+
tenantId?: string;
|
|
3733
3838
|
} & {
|
|
3734
3839
|
providerId?: string;
|
|
3735
3840
|
}) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
|
|
@@ -3811,6 +3916,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
3811
3916
|
platform: "ios" | "android";
|
|
3812
3917
|
oauthProvider?: string;
|
|
3813
3918
|
oauthRedirect?: string;
|
|
3919
|
+
externalAuthRedirect?: string;
|
|
3814
3920
|
};
|
|
3815
3921
|
thirdPartyAppStateId?: string;
|
|
3816
3922
|
applicationScopes?: string;
|
|
@@ -3832,7 +3938,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
3832
3938
|
};
|
|
3833
3939
|
webauthn: {
|
|
3834
3940
|
signUp: ((identifier: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
|
|
3835
|
-
start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
3941
|
+
start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
3836
3942
|
transactionId: string;
|
|
3837
3943
|
options: string;
|
|
3838
3944
|
create: boolean;
|
|
@@ -3848,7 +3954,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
3848
3954
|
finish: (transactionId: string, response: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
|
|
3849
3955
|
};
|
|
3850
3956
|
signUpOrIn: ((identifier: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
|
|
3851
|
-
start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
3957
|
+
start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
3852
3958
|
transactionId: string;
|
|
3853
3959
|
options: string;
|
|
3854
3960
|
create: boolean;
|
|
@@ -3944,6 +4050,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
3944
4050
|
templateOptions?: {
|
|
3945
4051
|
[x: string]: string;
|
|
3946
4052
|
};
|
|
4053
|
+
tenantId?: string;
|
|
3947
4054
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
3948
4055
|
maskedPhone: string;
|
|
3949
4056
|
}>>;
|
|
@@ -3960,6 +4067,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
3960
4067
|
templateOptions?: {
|
|
3961
4068
|
[x: string]: string;
|
|
3962
4069
|
};
|
|
4070
|
+
tenantId?: string;
|
|
3963
4071
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
3964
4072
|
maskedPhone: string;
|
|
3965
4073
|
}>>;
|
|
@@ -3976,6 +4084,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
3976
4084
|
templateOptions?: {
|
|
3977
4085
|
[x: string]: string;
|
|
3978
4086
|
};
|
|
4087
|
+
tenantId?: string;
|
|
3979
4088
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
3980
4089
|
maskedPhone: string;
|
|
3981
4090
|
}>>;
|
|
@@ -3992,6 +4101,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
3992
4101
|
templateOptions?: {
|
|
3993
4102
|
[x: string]: string;
|
|
3994
4103
|
};
|
|
4104
|
+
tenantId?: string;
|
|
3995
4105
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
3996
4106
|
maskedPhone: string;
|
|
3997
4107
|
}>>;
|
|
@@ -4008,6 +4118,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
4008
4118
|
templateOptions?: {
|
|
4009
4119
|
[x: string]: string;
|
|
4010
4120
|
};
|
|
4121
|
+
tenantId?: string;
|
|
4011
4122
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
4012
4123
|
maskedEmail: string;
|
|
4013
4124
|
}>>;
|
|
@@ -4122,6 +4233,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
4122
4233
|
templateOptions?: {
|
|
4123
4234
|
[x: string]: string;
|
|
4124
4235
|
};
|
|
4236
|
+
tenantId?: string;
|
|
4125
4237
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
4126
4238
|
maskedPhone: string;
|
|
4127
4239
|
}>>;
|
|
@@ -4138,6 +4250,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
4138
4250
|
templateOptions?: {
|
|
4139
4251
|
[x: string]: string;
|
|
4140
4252
|
};
|
|
4253
|
+
tenantId?: string;
|
|
4141
4254
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
4142
4255
|
maskedPhone: string;
|
|
4143
4256
|
}>>;
|
|
@@ -4154,6 +4267,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
4154
4267
|
templateOptions?: {
|
|
4155
4268
|
[x: string]: string;
|
|
4156
4269
|
};
|
|
4270
|
+
tenantId?: string;
|
|
4157
4271
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
4158
4272
|
maskedPhone: string;
|
|
4159
4273
|
}>>;
|
|
@@ -4170,6 +4284,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
4170
4284
|
templateOptions?: {
|
|
4171
4285
|
[x: string]: string;
|
|
4172
4286
|
};
|
|
4287
|
+
tenantId?: string;
|
|
4173
4288
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
4174
4289
|
maskedPhone: string;
|
|
4175
4290
|
}>>;
|
|
@@ -4186,6 +4301,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
4186
4301
|
templateOptions?: {
|
|
4187
4302
|
[x: string]: string;
|
|
4188
4303
|
};
|
|
4304
|
+
tenantId?: string;
|
|
4189
4305
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
4190
4306
|
maskedEmail: string;
|
|
4191
4307
|
}>>;
|
|
@@ -4197,6 +4313,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
4197
4313
|
templateOptions?: {
|
|
4198
4314
|
[x: string]: string;
|
|
4199
4315
|
};
|
|
4316
|
+
tenantId?: string;
|
|
4200
4317
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
4201
4318
|
maskedPhone: string;
|
|
4202
4319
|
}>>;
|
|
@@ -4206,6 +4323,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
4206
4323
|
templateOptions?: {
|
|
4207
4324
|
[x: string]: string;
|
|
4208
4325
|
};
|
|
4326
|
+
tenantId?: string;
|
|
4209
4327
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
4210
4328
|
maskedPhone: string;
|
|
4211
4329
|
}>>;
|
|
@@ -4215,6 +4333,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
4215
4333
|
templateOptions?: {
|
|
4216
4334
|
[x: string]: string;
|
|
4217
4335
|
};
|
|
4336
|
+
tenantId?: string;
|
|
4218
4337
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
4219
4338
|
maskedPhone: string;
|
|
4220
4339
|
}>>;
|
|
@@ -4224,6 +4343,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
4224
4343
|
templateOptions?: {
|
|
4225
4344
|
[x: string]: string;
|
|
4226
4345
|
};
|
|
4346
|
+
tenantId?: string;
|
|
4227
4347
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
4228
4348
|
maskedPhone: string;
|
|
4229
4349
|
}>>;
|
|
@@ -4233,6 +4353,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
4233
4353
|
templateOptions?: {
|
|
4234
4354
|
[x: string]: string;
|
|
4235
4355
|
};
|
|
4356
|
+
tenantId?: string;
|
|
4236
4357
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
4237
4358
|
maskedEmail: string;
|
|
4238
4359
|
}>>;
|
|
@@ -4308,6 +4429,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
4308
4429
|
templateOptions?: {
|
|
4309
4430
|
[x: string]: string;
|
|
4310
4431
|
};
|
|
4432
|
+
tenantId?: string;
|
|
4311
4433
|
} & {
|
|
4312
4434
|
providerId?: string;
|
|
4313
4435
|
}) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
|
|
@@ -4324,6 +4446,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
4324
4446
|
templateOptions?: {
|
|
4325
4447
|
[x: string]: string;
|
|
4326
4448
|
};
|
|
4449
|
+
tenantId?: string;
|
|
4327
4450
|
} & {
|
|
4328
4451
|
providerId?: string;
|
|
4329
4452
|
}) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
|
|
@@ -4398,6 +4521,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
4398
4521
|
templateOptions?: {
|
|
4399
4522
|
[x: string]: string;
|
|
4400
4523
|
};
|
|
4524
|
+
tenantId?: string;
|
|
4401
4525
|
} & {
|
|
4402
4526
|
providerId?: string;
|
|
4403
4527
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
@@ -4418,6 +4542,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
4418
4542
|
templateOptions?: {
|
|
4419
4543
|
[x: string]: string;
|
|
4420
4544
|
};
|
|
4545
|
+
tenantId?: string;
|
|
4421
4546
|
} & {
|
|
4422
4547
|
providerId?: string;
|
|
4423
4548
|
}) => Promise<_descope_core_js_sdk.SdkResponse<{
|
|
@@ -4451,6 +4576,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
|
|
|
4451
4576
|
templateOptions?: {
|
|
4452
4577
|
[x: string]: string;
|
|
4453
4578
|
};
|
|
4579
|
+
tenantId?: string;
|
|
4454
4580
|
} & {
|
|
4455
4581
|
providerId?: string;
|
|
4456
4582
|
}) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
|